public PostsController(PblogsContext context, IpostsServices postsServices, IpostuserServices postuserServices, IMemoryCache cache, IWebHostEnvironment hostEnvironment) { _context = context; _postsServices = postsServices; _postuserServices = postuserServices; _Cache = cache; this._hostEnvironment = hostEnvironment; }
public BlogsController(PblogsContext context, IPostsServices postsServices, IMemoryCache cache, IHubContext <Signalr> hubContext, IWebHostEnvironment hostEnvironment) { _context = context; _postsServices = postsServices; _Cache = cache; _hubContext = hubContext; this._hostEnvironment = hostEnvironment; }
public ChatController(PblogsContext context, IUserServices userServices, IChatServices chatServices, IMemoryCache cache, IHubContext <Signalr> hubContext) { _context = context; _chatServices = chatServices; _userServices = userServices; _Cache = cache; _hubContext = hubContext; }
public UsercontrolController(PblogsContext context, IMemoryCache Cache, IUserServices userServices, IPostsServices postsServices) { _Cache = Cache; _context = context; _postsServices = postsServices; _userServices = userServices; }
public AccountController(PblogsContext context, IUserServices userServices, IMemoryCache cache) { _context = context; _userServices = userServices; _Cache = cache; }