예제 #1
0
        public IEnumerable <N2DepartmentChargable> GetDepartmentChargables()
        {
            IN2DepartmentChargableRepository departmentChargableRepository = new N2DepartmentChargableRepository(DbContextSelector.getInstance().getDbFactory(DbContextSelector.DbName.Workflow));

            return(departmentChargableRepository.GetAll().OrderBy(p => p.Sequence).ToList());
        }
예제 #2
0
 public N2MwoRequestFormBC(IDbFactory dbFactory, IDbFactory dbDocFactory) : base(dbFactory, dbDocFactory)
 {
     informationRepo = new N2InformationRepository(dbFactory);
     departmentRepo  = new N2DepartmentChargableRepository(dbFactory);
 }