Lesson 19 - E-shop in ASP.NET Core MVC - Accounting Settings
In the previous lesson, E-shop in ASP.NET Core MVC - Persons - Finishing up, I promised to continue with implementing an accounting settings in today's ASP.NET Core tutorial. So let's do it.
Accounting Settings
Motivation
Running an e-shop is a gainful activity that is governed by law. We have an obligation to do bookkeeping and the e-shop owners are typically VAT payers if this tax applies in their country, although that doesn't have to be the case for smaller shops. The VAT rate varies from year to year, the owner can decide to become a VAT payer or to cancel this decision as well. Similarly, the owner, the accountant and other persons may change during the existence of the e-shop. Therefore, we're going to store all these variables in a table and write a simple administration for them.
Due to the obligation to do bookkeeping, we must remember all the settings historically. Last year's VAT invoice must remain the same, even if we are no longer VAT payers. Therefore, we'll add
...End of the preview...
Continue further
You've come here and that's great! We believe that the first lessons showed you something new and useful
Do you want to continue the course? Go to the premium section.
Buy this course
Before buying this article, you have to buy the previous one
This article is licensed: Premium no-reselling II, by buying this article, you agree with the terms of use.
Commercial article (licence no-reselling)
This article is based on many years of experience in the IT field, and describes how to develop a professional commercial product or parts, that can be directly used to generate profit or to get as a gate into the industry.
This knowledge is only for the members of our community who are working their way up to become IT professionals. Therefore, this knowledge is only available in exchange for credits. You can use the source code from this article for one commercial project. However, you will not be able to resell it. Simply put, you can't buy our article once and then sell our code multiple times. If you need to use this code a bit more extensively, we are ready to discuss Commercial licence options with you. You can find more info on this in the following article Licence.
Are you ready to become a professional? All you have to do is click here!.
Article description
Requested article covers this content:
In this tutorial, we'll introduce accounting settings to the e-shop in ASP.NET Core MVC, prepare the data layer, business layer, viewmodel, and controller.
You gain credits by supporting our network. This is done by sending a helpful amount of money to support the site, or by creating content for the network.