/// <summary> /// 博客总数 /// </summary> /// <returns></returns> public IActionResult GetBlogTotalCount(string key, string start, string end, string number) { int totalCount = dal.GetBlogTotalCount(GetCond(key, start, end, number)); return(Content(totalCount.ToString())); }
/// <summary> /// 博客总数 /// </summary> /// <returns></returns> public IActionResult GetBlogTotalCount(string key, string para) { int totalCount = dal.GetBlogTotalCount(GetCond(key, para)); return(Content(totalCount.ToString())); }