public RequestsController(ApplicationDbContext context, UserManager <ApplicationUser> userManager, IPermissionService userPermissions, UpdateRequestsService updateRequestsService)
 {
     _context               = context;
     _userManager           = userManager;
     _userPermissions       = userPermissions;
     _updateRequestsService = updateRequestsService;
 }