Exemplo n.º 1
0
 public HomeController(dbBlogContext context, IPostService postService, IPhotoService photoService, ICategoryService categoryService)
 {
     _context         = context;
     _postService     = postService;
     _photoService    = photoService;
     _categoryService = categoryService;
 }
Exemplo n.º 2
0
 public IndexModel(
     UserManager <IdentityUser> userManager,
     SignInManager <IdentityUser> signInManager,
     IEmailSender emailSender,
     dbBlogContext context)
 {
     _userManager   = userManager;
     _signInManager = signInManager;
     _emailSender   = emailSender;
     _context       = context;
 }
Exemplo n.º 3
0
 public RegisterModel(
     UserManager <IdentityUser> userManager,
     SignInManager <IdentityUser> signInManager,
     ILogger <RegisterModel> logger,
     IEmailSender emailSender,
     dbBlogContext context)
 {
     _userManager   = userManager;
     _signInManager = signInManager;
     _logger        = logger;
     _emailSender   = emailSender;
     _context       = context;
 }
Exemplo n.º 4
0
 public PostController(dbBlogContext context,
                       IPostService postService,
                       UserManager <IdentityUser> userManager,
                       IKeyValueItem keyValueItem,
                       IPhotoService photoService,
                       ICategoryService categoryService,
                       IUserService userService)
 {
     _context         = context;
     _postService     = postService;
     _userManager     = userManager;
     _keyValueItem    = keyValueItem;
     _photoService    = photoService;
     _categoryService = categoryService;
     _userService     = userService;
 }
Exemplo n.º 5
0
 public KeyValueItem(dbBlogContext context)
 {
     _context = context;
 }
Exemplo n.º 6
0
 public PhotoService(dbBlogContext context)
 {
     _context = context;
 }
Exemplo n.º 7
0
 public CategoryController(dbBlogContext context, ICategoryService categoryService)
 {
     _context         = context;
     _categoryService = categoryService;
 }
Exemplo n.º 8
0
 public UserService(dbBlogContext context)
 {
     _context = context;
 }
Exemplo n.º 9
0
 public PhotoController(dbBlogContext context, IPhotoService photoService)
 {
     _context      = context;
     _photoService = photoService;
 }
Exemplo n.º 10
0
 public CategoryService(dbBlogContext context)
 {
     _context = context;
 }
Exemplo n.º 11
0
 public PostService(dbBlogContext context, IHostingEnvironment env, IPhotoService photoService)
 {
     _context      = context;
     _env          = env;
     _photoService = photoService;
 }