Closed EveCrystali closed 9 months ago
[Required(ErrorMessage = "MissingQuantity")]
[RegularExpression(@"^\d+$", ErrorMessage = "InvalidQuantityFormat")]
[Range(1, int.MaxValue, ErrorMessage = "StockNotGreaterThanZero")]
public string Stock { get; set; }