コード例 #1
0
ファイル: CategoryServices.cs プロジェクト: hesama110/Blogger
 public bool ISCategoryExist(int id)
 {
     return(_categoryBaseServices.Query(null, null).Any(x => x.Id == id));
 }
コード例 #2
0
ファイル: TagServices.cs プロジェクト: hesama110/Blogger
 public bool ISTagExist(int id)
 {
     return(_tagBaseServices.Query(null, null).Any(x => x.Id == id));
 }
コード例 #3
0
 public async Task <List <T> > Query()
 {
     return(await baseDal.Query());
 }