ISEbd-21.Gordeev.I.V.SushiB.../SushiBar/SushiBarContracts/ViewModels/IngredientViewModel.cs

15 lines
420 B
C#

using SushiBarDataModels.Models;
using System.ComponentModel;
namespace SushiBarContracts.ViewModels
{
public class IngredientViewModel : IIngredientModel
{
public int Id { get; set; }
[DisplayName("Название ингредиента")]
public string IngredientName { get; set; } = string.Empty;
[DisplayName("Цена")]
public double Cost { get; set; }
}
}