public FriendController(IFriendRepository friendRepository, UserManager <ApplicationUser> userManager, MiiContext miiContext, IPostRepository postRepository)
 {
     this.friendRepository = friendRepository;
     this.userManager      = userManager;
     this.miiContext       = miiContext;
     this.postRepository   = postRepository;
 }
Exemple #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;
 }
Exemple #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;
 }
Exemple #5
0
 public SQLPostRepository(MiiContext context, UserManager <ApplicationUser> userManager)
 {
     this.context     = context;
     this.userManager = userManager;
 }