0
I want to create a Cart, where you have the Products that I will sell, the quantity and the total value. Does anyone have an idea of how I can start development?
Just for clarification, follow my class of Product, which starts from a Menu:
public class Produto
{
    [Key]
    public int ProdutoID { get; set; }
    [Required(ErrorMessage = "Preencha o nome do produto")]
    [DisplayName("Produto")]
    [StringLength(20, MinimumLength = 5, ErrorMessage = "O nome do produto deve ter entre 5 a 20 caracteres")]
    public string Nome { get; set; }
    [Required(ErrorMessage = "Preencha a descrição do produto")]
    [DisplayName("Descrição")]
    [StringLength(50, MinimumLength = 5, ErrorMessage = "O nome do produto deve ter entre 5 a 50 caracteres")]
    public string Descricao { get; set; }
    [DisplayName("Foto")]
    public string Foto { get; set; }
    [Required(ErrorMessage = "Preencha o valor do produto")]
    [DisplayName("Valor R$")]
    public decimal Valor { get; set; }
    //relacionamentos
    public int RestauranteID { get; set; }
    public virtual Restaurante Restaurante { get; set; }
}

I already prefer to store in the browser localstorage
– user3423986