public AccountsController()
        {
            IUnitOfWork _unitOfWork = new UnitOfWork();

            _accountService      = new AccountService(_unitOfWork);
            _roleCheckingService = new RoleCheckingService(_unitOfWork);
        }
Exemple #2
0
 public ScheduleController()
 {
     _unitOfWork          = new UnitOfWork();
     _scheduleService     = new ScheduleService(_unitOfWork);
     _accountService      = new AccountService(_unitOfWork);
     _roleCheckingService = new RoleCheckingService(_unitOfWork);
 }
        public WellnessController()
        {
            var _unitOfWork = new UnitOfWork();

            _wellnessService     = new WellnessService();
            _profileService      = new ProfileService(_unitOfWork);
            _accountService      = new AccountService(_unitOfWork);
            _roleCheckingService = new RoleCheckingService(_unitOfWork);
        }
        public VictoryPromiseController()
        {
            var _unitOfWork = new UnitOfWork();

            _victoryPromiseService = new VictoryPromiseService(_unitOfWork);
            _profileService        = new ProfileService(_unitOfWork);
            _accountService        = new AccountService(_unitOfWork);
            _roleCheckingService   = new RoleCheckingService(_unitOfWork);
        }
Exemple #5
0
        public StudentEmploymentController()
        {
            var _unitOfWork = new UnitOfWork();

            _studentEmploymentService = new StudentEmploymentService(_unitOfWork);
            _profileService           = new ProfileService(_unitOfWork);
            _accountService           = new AccountService(_unitOfWork);
            _roleCheckingService      = new RoleCheckingService(_unitOfWork);
        }
Exemple #6
0
        public DirectMessageController()
        {
            var _unitOfWork = new UnitOfWork();

            _DirectMessageService = new DirectMessageService();
            _profileService       = new ProfileService(_unitOfWork);
            _accountService       = new AccountService(_unitOfWork);
            _roleCheckingService  = new RoleCheckingService(_unitOfWork);
        }
        public MyScheduleController()
        {
            var _unitOfWork = new UnitOfWork();

            _myScheduleService      = new MyScheduleService(_unitOfWork);
            _profileService         = new ProfileService(_unitOfWork);
            _accountService         = new AccountService(_unitOfWork);
            _roleCheckingService    = new RoleCheckingService(_unitOfWork);
            _scheduleControlService = new ScheduleControlService(_unitOfWork);
        }