Esempio n. 1
0
 public EmployeeService(IEmployeeRepository employeeRepository
                        , IMapper mapper
                        , IGrantPermissionRepository grantPermissionRepository
                        , IOptions <AppSettings> appSettings)
 {
     this.employeeRepository        = employeeRepository;
     this.grantPermissionRepository = grantPermissionRepository;
     _mapper      = mapper;
     _appSettings = appSettings.Value;
 }
 public GrantPermissionService(IGrantPermissionRepository grantPermissionRepository, IBusinessActionRepository businessActionService, IUnitOfWork unitOfWork)
 {
     _grantPermissionRepository = grantPermissionRepository;
     _businessActionService     = businessActionService;
     _unitOfWork = unitOfWork;
 }
Esempio n. 3
0
 public RoleService(IRoleRepository repo, IGrantPermissionRepository grantPermissionRepo, IMapper mapper)
 {
     _repo   = repo;
     _mapper = mapper;
     _grantPermissionRepo = grantPermissionRepo;
 }
 public GrantPermissionService(IGrantPermissionRepository grantPermissionRepository)
 {
     _grantPermissionRepository = grantPermissionRepository;
 }
 public GrantPermissionService(IGrantPermissionRepository repo, IMapper mapper)
 {
     _repo   = repo;
     _mapper = mapper;
 }