Exemplo n.º 1
0
 public FriendController(IFriendRepository friendRepository, UserManager <ApplicationUser> userManager, MiiContext miiContext, IPostRepository postRepository)
 {
     this.friendRepository = friendRepository;
     this.userManager      = userManager;
     this.miiContext       = miiContext;
     this.postRepository   = postRepository;
 }
Exemplo n.º 2
0
 public HomeController(ILogger <HomeController> logger, IUserService userService, IEmailService emailService, MiiContext context, UserManager <ApplicationUser> userManager)
 {
     _logger           = logger;
     this.userService  = userService;
     this.emailService = emailService;
     this.context      = context;
     this.userManager  = userManager;
 }
Exemplo n.º 3
0
 public FriendRepository(UserManager <ApplicationUser> userManager, SignInManager <ApplicationUser> signInManager,
                         IConfiguration configuration, MiiContext miiContext)
 {
     this.userManager   = userManager;
     this.signInManager = signInManager;
     this.configuration = configuration;
     this.miiContext    = miiContext;
 }
 public SQLCommentRepository(MiiContext context)
 {
     this.context = context;
 }
Exemplo n.º 5
0
 public SQLPostRepository(MiiContext context, UserManager <ApplicationUser> userManager)
 {
     this.context     = context;
     this.userManager = userManager;
 }