public StudentController(IStudentServices studentServices, IStudent student, IDepartmentServices departmentServices)
 {
     _Student             = new Student();
     _IStudent            = student;
     _IStudentServices    = studentServices;
     _IDepartmentServices = departmentServices;
 }
예제 #2
0
 public HomeController()
 {
     _departmentDao = new DepartmentDao(SiteSettings.RepositoryPath);
     _departmentServices = new DepartmentServices();
     _cakeScheduleDao = new CakeScheduleDao(SiteSettings.RepositoryPath);
     _cakeScheduleService = new CakeScheduleServices();
 }
예제 #3
0
        public OrgService(
            IDbContextScopeFactory dbContextScopeFactory,
            IDepartmentTypeRepository departmentTypeRepository,
            IUserRepository userRepository,
            IUserDepartmentRepository userDepartmentRepository,
            ISignatureRepository signatureRepository,
            INotificationSettingRepository notificationSettingRepository,
            IUserJobTitleRepository userJobTitleRepository,
            IDepartmentServices departmentServices,
            IUserDepartmentServices userDepartmentServices,
            IMapper mapper,
            IUserServices userServices)
        {
            _dbContextScopeFactory         = dbContextScopeFactory;
            _departmentTypeRepository      = departmentTypeRepository;
            _userDepartmentRepository      = userDepartmentRepository;
            _userRepository                = userRepository;
            _signatureRepository           = signatureRepository;
            _notificationSettingRepository = notificationSettingRepository;
            _userJobTitleRepository        = userJobTitleRepository;

            _mapper = mapper;

            _departmentServices     = departmentServices;
            _userDepartmentServices = userDepartmentServices;
            _userServices           = userServices;
        }
 public UsersController(IUsersServices usersServices, IDepartmentServices departmentServices, IDutyServices dutyServices, ITierService tierService)
 {
     iusersServices      = usersServices;
     idepartmentServices = departmentServices;
     idutyServices       = dutyServices;
     itierService        = tierService;
 }
예제 #5
0
 public HomeController(IDepartmentDao departmentDao, IDepartmentServices departmentServices,
     ICakeScheduleDao cakeScheduleDao, ICakeScheduleServices cakeScheduleServices)
 {
     _departmentDao = departmentDao;
     _departmentServices = departmentServices;
     _cakeScheduleDao = cakeScheduleDao;
     _cakeScheduleService = cakeScheduleServices;
 }
예제 #6
0
 public HospitalController()
 {
     _unitOfWork             = new UnitOfWork();
     _hospitalservice        = new HospitalService();
     _hdocMapService         = new HospitalDoctormap();
     _userService            = new UserService();
     _departmentService      = new DepartmentService();
     _hospitalDeptmapService = new HospitalDeptmap();
 }
예제 #7
0
 public DepartmentController(IUserServices userServices, ITokenServices tokenServices, IRoleService roleService,
                             IDepartmentServices departmentService, IDepartmentTypeServices departmentTypeService)
 {
     _userServices          = userServices;
     _tokenServices         = tokenServices;
     _roleService           = roleService;
     _departmentService     = departmentService;
     _departmentTypeService = departmentTypeService;
 }
 protected override void Dispose(bool isDisposing)
 {
     if (isDisposing)
     {
         _IDepartmentServices = null;
         _IStudent            = null;
         _IStudentServices    = null;
     }
 }
예제 #9
0
 public OrgController(ILoggerServices loggerServices,
                      IUserServices userService,
                      IUserDepartmentServices userDepartmentServices,
                      IDepartmentServices departmentServices,
                      IOrgService orgService) :
     base(loggerServices, userService, userDepartmentServices)
 {
     _orgService         = orgService;
     _departmentServices = departmentServices;
 }
예제 #10
0
        public StartPageForm(IDepartmentDao departmentDao, IDepartmentServices departmentServices,
            ICakeScheduleDao cakeScheduleDao, ICakeScheduleServices cakeScheduleServices)
        {
            _departmentDao = departmentDao;
            _departmentServices = departmentServices;
            _cakeScheduleDao = cakeScheduleDao;
            _cakeScheduleServices = cakeScheduleServices;

            BuildStartPage();
        }
예제 #11
0
        public HomeController(

            IDistrictServices districtServices,
            IEmployeeServices employeeServices,
            IDepartmentServices departmentServices,
            ILogger <HomeController> logger
            )
        {
            _districtServices   = districtServices;
            _employeeServices   = employeeServices;
            _departmentServices = departmentServices;
            _logger             = logger;
        }
 public UserDepartmentServices(IDbContextScopeFactory dbContextScopeFactory,
                               IUserDepartmentRepository userDepartmentRepository,
                               IUserJobTitleRepository userJobTitleRepository,
                               IUserServices userServices, IDepartmentServices departmentServices,
                               IMapper mapper)
 {
     _dbContextScopeFactory    = dbContextScopeFactory;
     _userDepartmentRepository = userDepartmentRepository;
     _userJobTitleRepository   = userJobTitleRepository;
     _userServices             = userServices;
     _departmentServices       = departmentServices;
     _mapper = mapper;
 }
예제 #13
0
 /// <summary>
 /// 构造函数
 /// </summary>
 /// <param name="unitOfWork"></param>
 /// <param name="sysUserInfoServices"></param>
 /// <param name="userRoleServices"></param>
 /// <param name="roleServices"></param>
 /// <param name="departmentServices"></param>
 /// <param name="user"></param>
 /// <param name="mapper"></param>
 /// <param name="logger"></param>
 public UserController(IUnitOfWork unitOfWork, ISysUserInfoServices sysUserInfoServices,
                       IUserRoleServices userRoleServices,
                       IRoleServices roleServices,
                       IDepartmentServices departmentServices,
                       IUser user, IMapper mapper, ILogger <UserController> logger)
 {
     _unitOfWork          = unitOfWork;
     _sysUserInfoServices = sysUserInfoServices;
     _userRoleServices    = userRoleServices;
     _roleServices        = roleServices;
     _departmentServices  = departmentServices;
     _user   = user;
     _mapper = mapper;
     _logger = logger;
 }
예제 #14
0
        public ScheduleWorker(ICakeScheduleServices cakeScheduleServices, IDepartmentServices departmentServices,
            IMailService mailService,
            ICakeScheduleDao cakeScheduleDao, IDepartmentDao departmentDao,
            IAppConfigReader appConfigReader)
        {
            _cakeScheduleServices = cakeScheduleServices;
            _departmentServices = departmentServices;
            _mailService = mailService;
            _cakeScheduleDao = cakeScheduleDao;
            _departmentDao = departmentDao;
            _appConfigReader = appConfigReader;

            _timer = new Timer(_appConfigReader.TimerRunInterval);
            _timer.Elapsed += Timer_Elapsed;
        }
예제 #15
0
        public RetiredController(

            IDistrictServices districtServices,
            IEmployeeServices employeeServices,
            IDepartmentServices departmentServices,
            ILogger <HomeController> logger,
            IBankServices bankServices,
            INationalityServices nationalityServices
            //IRelationshipTypeServices relationshipTypeServices

            )
        {
            _districtServices   = districtServices;
            _employeeServices   = employeeServices;
            _departmentServices = departmentServices;
            _logger             = logger;
            //_relationshipTypeServices = relationshipTypeServices;
            _nationalityServices = nationalityServices;
            _bankServices        = bankServices;
        }
예제 #16
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="districtServices"></param>
 /// <param name="employeeServices"></param>
 /// <param name="genderServices"></param>
 /// <param name="maritalStatusServices"></param>
 /// <param name="nationalityServices"></param>
 /// <param name="religionServices"></param>
 public EmployeeController(
     IDistrictServices districtServices,
     IBankServices bankServices,
     IDepartmentServices departmentServices,
     ApplicationDbContext applicationDbContext,
     //IRelationshipTypeServices relationshipTypeServices,
     IEmployeeServices employeeServices,
     ILogger <EmployeeController> logger,
     INationalityServices nationalityServices
     )
 {
     _districtServices    = districtServices;
     _bankServices        = bankServices;
     _departmentServices  = departmentServices;
     _employeeServices    = employeeServices;
     _nationalityServices = nationalityServices;
     _logger = logger;
     _db     = applicationDbContext;
     //_relationshipTypeServices = relationshipTypeServices;
 }
 public DepartmentServicesRepoImpl(IDepartmentServices iDepartmentService)
 {
     this._iDepartmentService = iDepartmentService;
 }
 public DepartmentServicesFixture()
 {
     this.departmentServices = new DepartmentServices(null, new ModelDataAnnotationCheck());
     this.departmentModel    = new DepartmentModel();
 }
 public DepartmentController()
 {
     _departmentservice = new DepartmentService();
 }
 public ArrangeoperationController(IArrangeoperationServices arrangeoperationServices, IDepartmentServices departmentServices, IOperationServices operation)
 {
     idepartmentServices = departmentServices;
     iarrangeoperationServices = arrangeoperationServices;
     ioperation = operation;
 }
예제 #21
0
 public UnitOfWork(IDepartmentServices departmentServices, IThrowingExceptionsForUnitTests exceptionsForUnitTests)
 {
     DepartmentServices     = departmentServices;
     ExceptionsForUnitTests = exceptionsForUnitTests;
 }
예제 #22
0
 public DepartmentController(BusinessServices.IDepartmentServices department)
 {
     _departmentServices = department;
 }
예제 #23
0
 public HomeController()
 {
     this.deptServices  = new DepartmentServices();
     this.eventServices = new EventServices();
     this.newsServices  = new NewsServices();
 }
예제 #24
0
 public DepartmentController(IDepartmentServices DepartmentServices)
 {
     _DepartmentServices = DepartmentServices;
 }
예제 #25
0
 public DepartmentServicesRepoImpl(IDepartmentServices department)
 {
     this._department = department;
 }
 public DepartmentsController()
 {
     this.deptServices = new DepartmentServices();
 }
 public DepartmentController(IDepartmentServices departmentService)
 {
     this._departmentService = departmentService;
 }
예제 #28
0
 public DepartmentController(IDepartmentServices departmentServices, IWebHostEnvironment env)
 {
     _departmentServices = departmentServices;
     _env = env;
 }
예제 #29
0
 public DepartmentController(IDepartmentServices depISrv, ICompanyServices compISrv)
 {
     _departmentService = depISrv;
     _companyService    = compISrv;
 }
 public AccountController(IUserServices accISrv, IDepartmentServices depISrv)
 {
     _userService       = accISrv;
     _departmentService = depISrv;
 }
예제 #31
0
 public MailService(IDepartmentServices departmentServices, IAppConfigReader appConfigReader, DateTime cakeDate)
 {
     _departmentServices = departmentServices;
     _appConfigReader = appConfigReader;
     _cakeDate = cakeDate;
 }
 public DepartmentServicesFixture(UnitOfWork unitOfWork)
 {
     _departmentServices = unitOfWork.DepartmentServices;
     _departmentModel    = new DepartmentModel();
 }
예제 #33
0
 /// <summary>
 /// The Constructor
 /// </summary>
 /// <param name="applicationDbContext"></param>
 /// <param name="departmentServices"></param>
 /// <param name="logger"></param>
 public DepartmentController(ApplicationDbContext applicationDbContext, IDepartmentServices departmentServices, ILogger <DepartmentController> logger)
 {
     _db = applicationDbContext;
     _departmentServices = departmentServices;
     _logger             = logger;
 }
 public DepartmentController(IDepartmentServices departmentServices)
 {
     _departmentServices = departmentServices;
 }
예제 #35
0
 public DepartmentController(IDepartmentServices departmentService, IDepartment department)
 {
     _IDepartmentServices = departmentService;
     _IDepartment         = department;
     _deparment           = new Department();
 }