Esempio n. 1
0
 public AccessRightMRepository(FMRSContext _context, IFMRSUserPrincipal _user, ICwrfAccessControlRepository _cwrfAccessControlRepository,
                               IReportNotAccessRepository _reportNotAccessRepository) : base(_context)
 {
     Context     = _context;
     accessRight = Context.Set <AccessRightM>();
     User        = _user;
     CwrfAccessControlRepository = _cwrfAccessControlRepository;
     ReportNotAccessRepository   = _reportNotAccessRepository;
 }
Esempio n. 2
0
 public AdminService(IAccessRightRepository _accessRightRepository, IUserInfoRepository _userInfoRepository,
                     IUserSpecialtyRespository _userSpecialtyRespository, IUserGroupRespository _userGroupRespository,
                     IFinancialClosingRepository _financialClosingRepository, IReportRepository _reportRepository,
                     IReportNotAccessRepository _reportNotAccessRepository, IReportDetailNotAccessRepository _reportDetailNotAccessRepository,
                     IAccessRightDRepository _accessRightDRepository, IAccessRightMRepository _accessRightMRepository,
                     IAccessRightYRepository _accessRightYRepository, IFRMSModelRepository _fRMSModelRepository,
                     ICIDRepository _cIDRepository)
 {
     AccessRightRepository           = _accessRightRepository;
     AccessRightDRepository          = _accessRightDRepository;
     AccessRightMRepository          = _accessRightMRepository;
     AccessRightYRepository          = _accessRightYRepository;
     UserInfoRepository              = _userInfoRepository;
     UserSpecialtyRespository        = _userSpecialtyRespository;
     UserGroupRespository            = _userGroupRespository;
     FinancialClosingRepository      = _financialClosingRepository;
     ReportRepository                = _reportRepository;
     ReportNotAccessRepository       = _reportNotAccessRepository;
     ReportDetailNotAccessRepository = _reportDetailNotAccessRepository;
     FRMSModelRepository             = _fRMSModelRepository;
     CIDRepository = _cIDRepository;
 }