Пример #1
0
 public int AddTestModel(TEST_MODEL model)
 {
     if (string.IsNullOrEmpty(model.Name) || model.Age == 0 || string.IsNullOrEmpty(model.Language))
     {
         return(0);
     }
     return(DalContainer.Get <ITestDal>().AddTestModel(model));
 }
Пример #2
0
 public int DelTestModel(string pkid)
 {
     return(DalContainer.Get <ITestDal>().DelTestModel(pkid));
 }
Пример #3
0
 public IEnumerable <TEST_MODEL> Query(IEnumerable <QueryParam> queryParams)
 {
     return(DalContainer.Get <ITestDal>().Query(queryParams));
 }