I'm trying to generate a Scaffolfing
for the model below:
namespace OneeWeb_v2.Models
{
public class CombustivelModels
{
[Key]
public int CombustivelId { get; set; }
[Required]
public decimal km_inicial { get; set; }
[Required]
public decimal km_final { get; set; }
[Required]
public decimal litros { get; set; }
[Required]
[DataType(DataType.Currency)]
public decimal valor { get; set; }
}
}
But when trying to execute the error is returned:
Could someone tell me why?