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)); }
public int DelTestModel(string pkid) { return(DalContainer.Get <ITestDal>().DelTestModel(pkid)); }
public IEnumerable <TEST_MODEL> Query(IEnumerable <QueryParam> queryParams) { return(DalContainer.Get <ITestDal>().Query(queryParams)); }