Beispiel #1
0
 public PostCategory GetById(int postCategoryId)
 {
     return(_postCategoryDal.Get(p => p.PostCategoryId == postCategoryId));
 }
Beispiel #2
0
 public IDataResult <PostCategory> GetById(string postCategoryId)
 {
     return(new SuccessDataResult <PostCategory>(_postCategoryDal.Get(p => p.Id == postCategoryId)));
 }