Esempio n. 1
0
        //private readonly ApplicationDbContext _context;

        //public OverTimesController(ApplicationDbContext context)
        //{
        //    _context = context;
        //}

        // GET: OverTimes
        public IActionResult Index()
        {
            //  var applicationDbContext = _context.OverTimes.Include(o => o.FromEmployeeInfo).Include(o => o.ToEmployeeInfo);
            return(View(overTimeRepository.GetDetail()));
        }