public GeneralCategory GetById(long id)
 {
     return(_generalCategoryRepository.GetById(id));
 }
Exemple #2
0
        public GeneralCategory GetById(int id)
        {
            var generalCategory = repository.GetById(id);

            return(generalCategory);
        }