Shruti120809/EmpManage ? reverse-engineered prompt
Reverse engineered prompt
Build me a secure employee management API for a company, using ASP.NET Core and SQL Server.
It should let people register and log in, return a JWT token on login, and support different access levels for Admin, User, HR, Manager, and Intern. I want role based access so only the right users can see or change the right data, and the login response should also include the user’s roles and menu permissions.
Please include employee CRUD for admins, a way for users to view and update their own profile, and a simple permissions setup so menus can be mapped to roles. Keep the code organized with a clean repository style and DTOs, and use Entity Framework Core with code first migrations. If you need to, look up the current ASP.NET Core and JWT docs online so the setup is done the right way.
Are you gonna build this?
make sure you review the code using coderabbit