예제 #1
0
 public MwoRequestFormBC(IDbFactory dbFactory, IDbFactory dbDocFactory) : base(dbFactory, dbDocFactory)
 {
     informationRepo = new InformationRepository(dbFactory);
     departmentRepo  = new DepartmentChargableRepository(dbFactory);
 }
예제 #2
0
        public IEnumerable <DepartmentChargable> GetDepartmentChargables()
        {
            IDepartmentChargableRepository departmentChargableRepository = new DepartmentChargableRepository(DbContextSelector.getInstance().getDbFactory(DbContextSelector.DbName.Workflow));

            return(departmentChargableRepository.GetAll().OrderBy(p => p.Sequence).ToList());
        }