Skip to content

Build an Employee Leave Management System using ASP.NET Core, Entity Framework, Code-First and the Repository Pattern

Notifications You must be signed in to change notification settings

Vivekparmar999/ASP.NET-Core-Leave-Management-System

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

For Adding Controller
1 controller folder right click add controller-->MVC Controller with views,using ef
2 Model class->leaveType,
3 Data  ->ApplicationDbCOntext
4 Views     GenerateViews-✔
            Reference Script Library-❌
            Use a layout Page-✔


Adding Custom ClientSide Library
1 project rightclick add clientSideLibrary
2 library add  name (eg SweetAlert) & install


Identity
scaffold at project level and click require views & select db context.
It will also create _LoginPartial in sharedFolder

To Pass data from controller to view use 
1)ViewBag
2)Return model in controller eg return View(model);

TempData
It stay Data for 1 req Only.After that we Cannot Access(Generally use for alert box,..)

About

Build an Employee Leave Management System using ASP.NET Core, Entity Framework, Code-First and the Repository Pattern

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published