//private readonly ApplicationDbContext _context; //public EmployeeInfoesController(ApplicationDbContext context) //{ // _context = context; //} // GET: EmployeeInfoes public IActionResult Index() { // var applicationDbContext = _conext.EcontmployeeInfos.Include(e => e.Branch).Include(e => e.Department).Include(e => e.Designation); return(View(employeeInfoRepository.GetDetail())); }