HelpPageAreaRegistration
摘要:public override string AreaName { get { return "HelpPage"; } } public override void RegisterArea(AreaRegistrationContext context) { context.MapRoute(
阅读全文
posted @
2016-02-29 15:26
xiaotank
WebAPI CRUD
摘要:用仓储模式,首先建立一个接口interface IProductRepository { IEnumerable<Product> GetAll(); Product Get(int id); Product Add(Product item); void Remove(int id); bool
阅读全文
posted @
2016-02-29 11:59
xiaotank