public WorkFlowStagesService() { _dbContext = new epassbook_dbEntities(); unitOfWork = new UnitOfWork(_dbContext); workflowStageRepository = unitOfWork.GenericRepository <WorkflowStage>(); stageInRoleRepository = unitOfWork.GenericRepository <StageInRole>(); }
public InstallmentRejectionService() { _dbContext = new epassbook_dbEntities(); unitOfWork = new UnitOfWork(_dbContext); installmentRejectionRepository = unitOfWork.GenericRepository <InstallmentRejection>(); }
public UnitOfWork(epassbook_dbEntities context) { _dbContext = context; }
public BenificiaryService() { _dbContext = new epassbook_dbEntities(); unitOfWork = new UnitOfWork(_dbContext); benificiaryMasterRepository = unitOfWork.GenericRepository <BenificiaryMaster>(); }
public CityMasterService() { _dbContext = new epassbook_dbEntities(); unitOfWork = new UnitOfWork(_dbContext); cityMasterRepository = unitOfWork.GenericRepository <CityMaster>(); }
public GenericRepository(epassbook_dbEntities _dbContext) { dbContext = _dbContext; this.entityTable = dbContext.Set <TEntity>(); }
public CommentService() { _dbContext = new epassbook_dbEntities(); unitOfWork = new UnitOfWork(_dbContext); commentRepository = unitOfWork.GenericRepository <Comment>(); }
public UserInRoleService() { _dbContext = new epassbook_dbEntities(); unitOfWork = new UnitOfWork(_dbContext); UserInRoleRepository = unitOfWork.GenericRepository <UserInRole>(); }