C#-MVC-RAZOR-Shopping CART
භාන්ඩ හුවමාරැ බහාලුම
ආදාල යේදවුමි ස්තානය....
https://mega.nz/folder/wnEByRaLZ#yxds5Xz9P7k3pbhvvCNx9w
/connectionStrings/ /add name="ContextItemTransection" connectionString="Server=DESKTOP-6615Q42\SQLEXPRESS;initial catalog=InvoiceTrans-DCC; Trusted_Connection=True;Encrypt=False; User Id=sa;Password=nopwd" providerName="System.Data.SqlClient"></add/ //connectionStrings/
web.config
Customer model
Invoice model
Item model
Transaction model
Context Class
Add Entityframe Work 6.00
Context Model
NuGet Package Maneger Console
Database Diagram
Layout Main Page
Views
Layout HTML (1)
Layout HTML (2)
Edit Layout
Router path
Controllers
Add Controller
Choose the Controller type
(1) - With Out Model
(2) - With Model
Add Model
Add Context Class
Index- Crate (Customer controller)
Edit (Customer controller)
Delete (Customer controller)
Index-Create (Item controller)
Edit (Item controller)
Delete (Item controller)
Index-Create (Transaction controller)
Edit (Transaction controller)
Delete (Transaction controller)
Add Views
Select Template
Select Model
Customer Index View
Html Helper Folder
HTML Helper for Create View
Transaction Crate View
-------------------Shopping Cart Development--------------------------------
Shopping cart function in the Transections controller
View for sopping interface
HTML For View
(1)
(2)
ShoppingCart View
--------------Add Data to Transection using Shopping cart ------------------------------------
Script for Add Data To Trasction Data Base
Controller Transaction & Genatator PDF
-------------------Invoice Contoller -------------------------
Script for Invoice Controller View
Controller For Invoice
--------------------Login Controller -----------------------
Login Controller
Login Views
Login Views
(1) Index
(2) log in
(3) Sing in
---------------------Layout Controller-----------------------------
Layout Controller
Layout view
(1)
(2)