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));
        }