Пример #1
0
 private Category GetCategory(int categoryId)
 {
     return(_storageManager.GetCategory(categoryId).Select(c => new Category
     {
         CategoryId = int.Parse(c.PartitionKey),
         CategoryName = c.RowKey,
         CategoryLogo = c.CategoryLogo
     }).FirstOrDefault());
 }