I read some documents from github and found there was a difference while creating the object
public class Item
{
public int Id { get; set; }
[Required]
public string Description { get; set; }
}
and
public class Item
{
public int Id { get; set; }
[Required()]
public string Description { get; set; }
}
What is the difference between them? Thanks for help