摘要: using System.Collections.Generic; using System.Linq; using System; using System.Linq.Expressions; using System.Diagnostics; namespace SportsStore.Models.Pages { public class PagedList : List { ... 阅读全文
posted @ 2019-06-22 20:32 接云网络 阅读(616) 评论(0) 推荐(0) 编辑
摘要: using Microsoft.AspNetCore.Http; namespace SportsStore.Infrastructure { public static class UrlExtensions { public static string PathAndQuery(this HttpRequest request) => r... 阅读全文
posted @ 2019-06-22 20:26 接云网络 阅读(248) 评论(0) 推荐(0) 编辑
摘要: using Microsoft.AspNetCore.Http; using Newtonsoft.Json; namespace SportsStore.Infrastructure { public static class SessionExtensions { public static void SetJson(this ISession session,... 阅读全文
posted @ 2019-06-22 20:25 接云网络 阅读(502) 评论(0) 推荐(0) 编辑