I have problem in regarding with converting the datetime to date using a model.
Model from Class Library
public partial class LoanCo
Add [DataType(DataType.Date)] in your model
[Column(TypeName = "Date")] [DisplayName("Date of birth")] [DataType(DataType.Date)]