public HomeController( IUserService userService, IUserPostsService userPostService, ICacheService cacheService) { _userService = userService; _userPostService = userPostService; _cacheService = cacheService; }
public HomeController( UserManager <ApplicationUser> userManager, AppDbContext context, UserService service, IUserPostsService userPostsService, IMapper mapper ) { _userManager = userManager; _context = context; _service = service; _userPostsService = userPostsService; _mapper = mapper; }
public UserPostsController(IUserPostsService userPostsService) { _userPostsService = userPostsService; }
public UserPostsController(IUserPostsService userPostsService, UserManager <ApplicationUser> userManager) { this.userPostsService = userPostsService; this.userManager = userManager; }
public MyProfileController(IUserPostsService userPostsService, IMapper mapper) { _userPostsService = userPostsService; _mapper = mapper; }