public UserController(UserManager <myIdentityUser> userManager, SignInManager <myIdentityUser> signInManager, IHostingEnvironment hostingEnvironment, IBlogRepo blogRepository) { _userManager = userManager; _signInManager = signInManager; this.hostingEnvironment = hostingEnvironment; this._blogRepository = blogRepository; }
public BlogOperations() { _blogRepo = new BlogRepo(); }
public PostsController(IBlogRepo repository, IMapper mapper) { _repository = repository; _mapper = mapper; }
public BlogOperations(IBlogRepo blogRepo) { _blogRepo = blogRepo; }
public HomeController(IBlogRepo b) { blog = b; }
public HomeController(IBlogRepo blogRepository, IHostingEnvironment hostingEnvironment) { _blogRepository = blogRepository; this.hostingEnvironment = hostingEnvironment; }
public BlogController(IBlogRepo b) { blog = b; }
public BlogController(IBlogRepo b) { posts = b; }
public BlogManager(IBlogRepo repo) { _repo = repo; }
public BlogsController(IBlogRepo repo) { _repo = repo; }