public AuthController
 (
     IAuthService authService,
     ICurrentUserHelper userHelper
 )
 {
     _authService = authService;
     _userHelper  = userHelper;
 }
Example #2
0
 public PostController(
     AnimalsDbContext ctx,
     UserManager <ApplicationUser> userManager,
     IFileHelper fileHelper,
     ICurrentUserHelper userHelper)
 {
     _ctx         = ctx;
     _userManager = userManager;
     _fileHelper  = fileHelper;
     _userHelper  = userHelper;
 }
 public LockersController(ApplicationContext applicationContext, IEmailService emailService, ICurrentUserHelper currentUser)
 {
     _applicationContext = applicationContext;
     _emailService       = emailService;
     _currentUser        = currentUser;
 }