Ejemplo n.º 1
0
 public WorkFlowStagesService()
 {
     _dbContext = new epassbook_dbEntities();
     unitOfWork = new UnitOfWork(_dbContext);
     workflowStageRepository = unitOfWork.GenericRepository <WorkflowStage>();
     stageInRoleRepository   = unitOfWork.GenericRepository <StageInRole>();
 }
Ejemplo n.º 2
0
 public InstallmentRejectionService()
 {
     _dbContext = new epassbook_dbEntities();
     unitOfWork = new UnitOfWork(_dbContext);
     installmentRejectionRepository = unitOfWork.GenericRepository <InstallmentRejection>();
 }
Ejemplo n.º 3
0
        public UnitOfWork(epassbook_dbEntities context)

        {
            _dbContext = context;
        }
Ejemplo n.º 4
0
 public BenificiaryService()
 {
     _dbContext = new epassbook_dbEntities();
     unitOfWork = new UnitOfWork(_dbContext);
     benificiaryMasterRepository = unitOfWork.GenericRepository <BenificiaryMaster>();
 }
Ejemplo n.º 5
0
 public CityMasterService()
 {
     _dbContext           = new epassbook_dbEntities();
     unitOfWork           = new UnitOfWork(_dbContext);
     cityMasterRepository = unitOfWork.GenericRepository <CityMaster>();
 }
Ejemplo n.º 6
0
 public GenericRepository(epassbook_dbEntities _dbContext)
 {
     dbContext        = _dbContext;
     this.entityTable = dbContext.Set <TEntity>();
 }
Ejemplo n.º 7
0
 public CommentService()
 {
     _dbContext        = new epassbook_dbEntities();
     unitOfWork        = new UnitOfWork(_dbContext);
     commentRepository = unitOfWork.GenericRepository <Comment>();
 }
Ejemplo n.º 8
0
 public UserInRoleService()
 {
     _dbContext           = new epassbook_dbEntities();
     unitOfWork           = new UnitOfWork(_dbContext);
     UserInRoleRepository = unitOfWork.GenericRepository <UserInRole>();
 }