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 RoleResponsibilityRepository(Angular2_AspDotNet.Data.UnitOfWork.UnitOfWork unitOfWork) : base(unitOfWork.Context) { this._unitOfWork = unitOfWork; _IRoleResponsibilityVersionRepository = new RoleResponsibilityVersionRepository(unitOfWork); }