public GetById ( int categoryId ) : IDataResult |
||
categoryId | int | |
return | IDataResult |
public IDataResult<Category> GetById(int categoryId)
{
return new SuccessDataResult<Category>(_categoryDal.Get(c => c.CategoryId == categoryId));
}