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(); }
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); }