Ejemplo n.º 1
0
 public PostController(IBlogService blogService, IHostingEnvironment env, IBlogImageService blogImageService, IAuthorizationService authorizationService)
 {
     _env                  = env;
     _blogService          = blogService;
     _blogImageService     = blogImageService;
     _authorizationService = authorizationService;
 }
Ejemplo n.º 2
0
 public DataService(ApplicationDbContext context, RoleManager <IdentityRole> roleManager, IBlogImageService blogImageService, UserManager <BlogUser> userManager, IConfiguration configuration)
 {
     _context          = context;
     _roleManager      = roleManager;
     _blogImageService = blogImageService;
     _userManager      = userManager;
     _configuration    = configuration;
 }
Ejemplo n.º 3
0
 public PostsController(ApplicationDbContext context, IBlogImageService blogImageService, IConfiguration configuration, BasicSlugService slugService, SearchService searchService)
 {
     _context          = context;
     _blogImageService = blogImageService;
     _configuration    = configuration;
     _slugService      = slugService;
     _searchService    = searchService;
 }
Ejemplo n.º 4
0
 public IndexModel(
     UserManager <BlogUser> userManager,
     SignInManager <BlogUser> signInManager,
     IBlogImageService blogImageService)
 {
     _userManager      = userManager;
     _signInManager    = signInManager;
     _blogImageService = blogImageService;
 }
Ejemplo n.º 5
0
 public PostController(
     IPostService postService,
     ICategoryService categoryService,
     IBlogImageService blogImageService,
     UserManager <ApplicationUser> userManager,
     IAuthorizationService authorizationService)
 {
     _postService          = postService;
     _categoryService      = categoryService;
     _blogImageService     = blogImageService;
     _userManager          = userManager;
     _authorizationService = authorizationService;
 }
Ejemplo n.º 6
0
        public RegisterModel(
            UserManager <BlogUser> userManager,
            SignInManager <BlogUser> signInManager,
            ILogger <RegisterModel> logger,
            IEmailSender emailSender,
            IBlogImageService blogImageService,
            IConfiguration configuration)

        {
            _userManager      = userManager;
            _signInManager    = signInManager;
            _logger           = logger;
            _emailSender      = emailSender;
            _blogImageService = blogImageService;
            _configuration    = configuration;
        }
Ejemplo n.º 7
0
 public BlogsController(ApplicationDbContext context, IBlogImageService blogImageService, IConfiguration configuration)
 {
     _context          = context;
     _blogImageService = blogImageService;
     _configuration    = configuration;
 }
Ejemplo n.º 8
0
 public PostImageController(IBlogImageService blogImageService, IHostingEnvironment env)
 {
     _env = env;
     _blogImageService = blogImageService;
 }
Ejemplo n.º 9
0
 public ImageController(IBlogImageService blogImageService)
 {
     this._blogImageService = blogImageService;
 }
Ejemplo n.º 10
0
 public HomeController(ILogger <HomeController> logger, ApplicationDbContext context, IBlogImageService blogImageService)
 {
     _logger           = logger;
     _context          = context;
     _blogImageService = blogImageService;
 }