public LivrosController(ILivroAppService livroApp, IAutorAppService autorApp, ICategoriaAppService categoriaApp, IEditoraAppService editoraApp)
 {
     _livroApp     = livroApp;
     _autorApp     = autorApp;
     _categoriaApp = categoriaApp;
     _editoraApp   = editoraApp;
 }
 public AccountController(
     UserManager <ApplicationUser> userManager,
     SignInManager <ApplicationUser> signInManager,
     IOptions <IdentityCookieOptions> identityCookieOptions,
     IEmailSender emailSender,
     ISmsSender smsSender,
     ILoggerFactory loggerFactory,
     IDomainNotificationHandler <DomainNotification> notifications,
     IEditoraAppService editoraAppService,
     IUser user) : base(notifications, user)
 {
     _userManager          = userManager;
     _signInManager        = signInManager;
     _externalCookieScheme = identityCookieOptions.Value.ExternalCookieAuthenticationScheme;
     _emailSender          = emailSender;
     _smsSender            = smsSender;
     _editoraAppService    = editoraAppService;
     _logger = loggerFactory.CreateLogger <AccountController>();
 }
 public EditorasController(IEditoraAppService editoraApp)
 {
     _editoraApp = editoraApp;
 }
Beispiel #4
0
 public EditoraController(IEditoraAppService editoraService)
 {
     _editoraService = editoraService;
 }