Example #1
0
        public ValuesController(IDeptRepository deptRepository, IBsRepository bsRepository, IGenderRepository genderRepository, BsModelContext context)
        {
            _deptRepository   = deptRepository;
            _bsRepository     = bsRepository;
            _genderRepository = genderRepository;

            db = context;
        }
Example #2
0
 public UserService(IMapper mapper,
                    UserContext currentUser,
                    IUserRepository userRepository,
                    IDeptRepository deptRepository,
                    IRoleRepository roleRepository)
 {
     _mapper         = mapper;
     _currentUser    = currentUser;
     _userRepository = userRepository;
     _deptRepository = deptRepository;
     _roleRepository = roleRepository;
 }
 public AccountService(IMapper mapper,
                       UserContext currentUser,
                       IUserRepository userRepository,
                       IDeptRepository deptRepository,
                       IRoleRepository roleRepository,
                       IMenuRepository menuRepository,
                       IRelationRepository relationRepository)
 {
     _mapper             = mapper;
     _currentUser        = currentUser;
     _userRepository     = userRepository;
     _deptRepository     = deptRepository;
     _roleRepository     = roleRepository;
     _menuRepository     = menuRepository;
     _relationRepository = relationRepository;
 }
Example #4
0
 public DeptLogic(IDeptRepository deptRepo)
 {
     this.deptRepo = deptRepo;
 }
Example #5
0
 public DeptLogic()
 {
     deptRepo = new DeptRepository(new HRDBContext());
 }
 public HRLogic(IEmpRepository empRepo, IDeptRepository deptRepo)
 {
     this.empRepo  = empRepo;
     this.deptRepo = deptRepo;
 }
 public HRLogic()
 {
     empRepo  = new EmpRepository(new HRDBContext());
     deptRepo = new DeptRepository(new HRDBContext());
 }
Example #8
0
 public DeptService(IDeptRepository deptRepository)
 {
     _deptRepository = deptRepository;
 }
Example #9
0
 public DeptService(IDeptRepository repository)
 {
     _repository = repository;
 }
Example #10
0
 public Deptservice(IDeptRepository deptrepo)
 {
     this.deptrepo = deptrepo;
 }
Example #11
0
 public DeptService(IMapper mapper, IDeptRepository deptRepository)
 {
     _mapper         = mapper;
     _deptRepository = deptRepository;
 }
 public DeptAppService(IDeptRepository deptRepository)
 {
     _repository = deptRepository;
 }