Пример #1
0
 public bool CategoryExist(int categoryId)
 {
     return(CategoryList.Exists(x => x.Id == categoryId));
 }