Example #1
0
 public HomeController(IBlogUserService blogUserService, IBlogArticleService blogArticleService, ISBearVisitorLogService iSBearVisitorLogService, IBlogArticleTypeService blogArticleTypeService, IMemoryCache memoryCache)
 {
     _blogArticleService      = blogArticleService;
     _blogUserService         = blogUserService;
     _iSBearVisitorLogService = iSBearVisitorLogService;
     _blogArticleTypeService  = blogArticleTypeService;
     _cache = memoryCache;
 }
 public HomeSideBarViewComponent(ISBearVisitorLogService iSBearVisitorLogService)
 {
     _iSBearVisitorLogService = iSBearVisitorLogService;
 }
 public RequestMsgMiddleware(RequestDelegate next, ILog log, ISBearVisitorLogService iSBearVisitorLogService)
 {
     _next = next;
     _log  = log;
     _iSBearVisitorLogService = iSBearVisitorLogService;
 }