Ejemplo n.º 1
0
        public async Task <IActionResult> Index(string departmentName, DateTime estDeliverDate, int changeEstDeliverDateModalName)
        {
            ADTeam5User user = await _userManager.GetUserAsync(HttpContext.User);

            List <string> identity = userCheck.checkUserIdentityAsync(user);
            int           userID   = user.WorkID;

            if (departmentName == null)
            {
                return(NotFound());
            }

            if (changeEstDeliverDateModalName == 1)
            {
                b.ChangeEstDeliverDate(departmentName, estDeliverDate);
            }
            var sSISTeam5Context = _context.DisbursementList.Include(d => d.CollectionPointNavigation).Include(d => d.DepartmentCodeNavigation).Include(d => d.RepNavigation).OrderByDescending(x => x.Dlid);

            return(View(sSISTeam5Context));
        }