Exemplo n.º 1
0
        public RoleResponsibilityController()
        {
            UnitOfWork unitOfWork = new UnitOfWork();

            this._IMasterRoleSectionRepository                = new MasterRoleSectionRepository(unitOfWork);
            this._IRoleResponsibilityRepository               = new RoleResponsibilityRepository(unitOfWork);
            this._IRoleResponsibilityVersionRepository        = new RoleResponsibilityVersionRepository(unitOfWork);
            this._IRoleResponsibilityVersionSectionRepository = new RoleResponsibilityVersionSectionRepository(unitOfWork);
            this._caching = new CacheManagement();
        }
Exemplo n.º 2
0
 public EventRepository(Angular2_AspDotNet.Data.UnitOfWork.UnitOfWork unitOfWork) : base(unitOfWork.Context)
 {
     this._unitOfWork                    = unitOfWork;
     _IEventAttendeeRepository           = new EventAttendeeRepository(this._unitOfWork);
     _IActionRepository                  = new ActionRepository(this._unitOfWork);
     _IActionResponsiblePersonRepository = new ActionResponsiblePersonRepository(this._unitOfWork);
     _IAgendaRepository                  = new AgendaRepository(this._unitOfWork);
     this._IAppointmentRepository        = new AppointmentRepository(this._unitOfWork);
     this._IObjectiveRepository          = new ObjectiveRepository(this._unitOfWork);
     this._IPerformanceReviewRepository  = new PerformanceReviewRepository(this._unitOfWork);
     this._IRoleResponsibilityRepository = new RoleResponsibilityRepository(this._unitOfWork);
 }