Business.Concrete.CategoryManager.GetById C# (CSharp) Метод

GetById() публичный Метод

public GetById ( int categoryId ) : IDataResult
categoryId int
Результат IDataResult
        public IDataResult<Category> GetById(int categoryId)
        {
            return new SuccessDataResult<Category>(_categoryDal.Get(c => c.CategoryId == categoryId));
        }