public AccountController([FromServices] IObjectifDataContext objCtx, [FromServices] IUserDataContext userCtx, UserManager <ApplicationUser> userManager, SignInManager <ApplicationUser> signInManager, IEmailSender emailSender, ISmsSender smsSender, ILoggerFactory loggerFactory) { this.objCtx = objCtx; this.userCtx = userCtx; _userManager = userManager; _signInManager = signInManager; _emailSender = emailSender; _smsSender = smsSender; _logger = loggerFactory.CreateLogger <AccountController>(); }
public ObjectifController([FromServices] IObjectifDataContext objCtx, [FromServices] IUserDataContext userCtx) { this.objCtx = objCtx; this.userCtx = userCtx; objVm = new ObjectifViewModel(); }
public NotificationController([FromServices] IObjectifDataContext objCtx, [FromServices] IUserDataContext userCtx) { this.objCtx = objCtx; this.userCtx = userCtx; }
public DashBoardController([FromServices] IUserDataContext userCtx, [FromServices] IObjectifDataContext objCtx) { this.userCtx = userCtx; this.objCtx = objCtx; }