摘要:
参考:http://www.c-sharpcorner.com/UploadFile/3d39b4/Asp-Net-mvc-validation-using-fluent-validation/ 创建一个Customer类 引用FluentValidation.dll 创建CustomerValid 阅读全文
摘要:
1.创建一个MVC项目,选择API 2.在Models层里添加Product类,IProductRepository接口,ProductRepository类 public class Product { public int ID { get; set; } public string Name 阅读全文