public ApiControllerBase(ControllerServicesContext context) { Mapper = context.Mapper; EmailService = context.EmailService; LinkGenerator = context.LinkGenerator; AppSettings = context.AppSettings; }
public GalleryController(ControllerServicesContext context, IBlogApplicationService blogService, IFileSystemGenericRepositoryFactory fileSystemGenericRepositoryFactory) : base(context) { _blogService = blogService; _fileSystemGenericRepositoryFactory = fileSystemGenericRepositoryFactory; _hostingEnvironment = context.HostingEnvironment; }
public ApiControllerAuthenticationBase( ControllerServicesContext context, RoleManager <IdentityRole> roleManager, UserManager <TUser> userManager, SignInManager <TUser> signInManager, TokenSettings tokenSettings, PasswordSettings passwordSettings, EmailTemplates emailTemplates) : base(context) { _resetPasswordEmailTemplate = emailTemplates.ResetPassword; _passwordResetCallbackUrl = passwordSettings.PasswordResetCallbackUrl; _roleManager = roleManager; _userManager = userManager; _signInManager = signInManager; _privateSymmetricKey = tokenSettings.Key; _privateSigningKeyPath = tokenSettings.PrivateKeyPath; _privateSigningCertificatePath = tokenSettings.PrivateCertificatePath; _privateSigningCertificatePassword = tokenSettings.PrivateCertificatePasword; _localIssuer = tokenSettings.LocalIssuer; _audience = tokenSettings.Audiences.Split(",").First().Trim(); _tokenExpiryMinutes = tokenSettings.ExpiryMinutes; }
public LocationsController(ControllerServicesContext context, ILocationApplicationService locationService, IFileSystemGenericRepositoryFactory fileSystemGenericRepositoryFactory) : base(context) { _locationService = locationService; _fileSystemGenericRepositoryFactory = fileSystemGenericRepositoryFactory; _hostingEnvironment = context.HostingEnvironment; }
public MvcControllerFileMetadataReadOnlyAuthorizeBase(ControllerServicesContext context, string physicalPath, Boolean includeSubDirectories, Boolean admin, IFileSystemGenericRepositoryFactory fileSystemGenericRepositoryFactory) : base(context) { PhysicalPath = physicalPath; IncludeSubDirectories = includeSubDirectories; Admin = admin; FileSystemGenericRepositoryFactory = fileSystemGenericRepositoryFactory; }
public ApiControllerRegistrationBase( ControllerServicesContext context, RoleManager <IdentityRole> roleManager, UserManager <TUser> userManager, SignInManager <TUser> signInManager, TokenSettings tokenSettings, PasswordSettings passwordSettings, EmailTemplates emailTemplates) : base(context, roleManager, userManager, signInManager, tokenSettings, passwordSettings, emailTemplates) { _welcomeEmailTemplate = emailTemplates.Welcome; }
public AuthController( ControllerServicesContext context, RoleManager <IdentityRole> roleManager, UserManager <User> userManager, SignInManager <User> signInManager, TokenSettings tokenSettings, PasswordSettings passwordSettings, EmailTemplates emailTemplates, AppSettings appSettings) : base(context, roleManager, userManager, signInManager, tokenSettings, passwordSettings, emailTemplates) { }
public HomeController(ControllerServicesContext context, IBlogApplicationService blogService, ILocationApplicationService locationService, IFileSystemGenericRepositoryFactory fileSystemGenericRepositoryFactory, IMapper mapper, IEmailService emailService, IMailingListApplicationService mailingListService, IWebHostEnvironment hostingEnvironment, JsonNavigationService navigationService) : base(context, navigationService) { if (blogService == null) { throw new ArgumentNullException("blogService"); } _blogService = blogService; _locationService = locationService; _fileSystemGenericRepositoryFactory = fileSystemGenericRepositoryFactory; _mailingListService = mailingListService; _hostingEnvironment = hostingEnvironment; }
public LocationsController(ControllerServicesContext context, ILocationApplicationService service) : base(context, true, service) { }
public BlogPostsController(ControllerServicesContext context, IBlogPostApplicationService service) : base(context, service) { }
public ApiControllerEntityReadOnlyAuthorizeBase(ControllerServicesContext context, IEntityService service) : base(context) { Service = service; }
public MvcControllerAdminAuthorizeBase(ControllerServicesContext context) : base(context) { }
public BlogController(ControllerServicesContext context, IBlogApplicationService blogService) : base(context) { _blogService = blogService; }
public TestimonialsController(ControllerServicesContext context, ITestimonialApplicationService service) : base(context, true, service) { }
public MvcControllerEntityReadOnlyAuthorizeBase(ControllerServicesContext context, Boolean admin, IEntityService service) : base(context) { Admin = admin; Service = service; }
public CategoriesController(ControllerServicesContext context, ICategoryApplicationService service) : base(context, true, service) { }
public AuthorsController(ControllerServicesContext context, IAuthorApplicationService service) : base(context, service) { }
public ContentTextsController(ControllerServicesContext context, IContentTextApplicationService service) : base(context, true, service) { }
public MetadataController(ControllerServicesContext context, IFileSystemGenericRepositoryFactory fileSytemGenericRepositoryFactory, IMapper mapper, IEmailService emailService, AppSettings appSettings, IWebHostEnvironment hostingEnvironment) : base(context, hostingEnvironment.MapWwwPath(appSettings.Folders[Folders.Files]), true, true, fileSytemGenericRepositoryFactory, mapper, emailService) { }
public MailingListController(ControllerServicesContext context, IMailingListApplicationService service) : base(context, true, service) { }
public CqrsController(ControllerServicesContext context, ICqrsMediator cqrsMediator) : base(context, cqrsMediator) { }
public TagsController(ControllerServicesContext context, ITagApplicationService service) : base(context, true, service) { }
public MvcControllerEntityAuthorizeBase(ControllerServicesContext context, Boolean admin, IEntityService service) : base(context, admin, service) { }
public ApiControllerCqrsAuthorizeBase(ControllerServicesContext context, ICqrsMediator cqrsMediator) : base(context) { _cqrsMediator = cqrsMediator; }
public ApiControllerEntityAuthorizeBase(ControllerServicesContext context, IEntityService service) : base(context, service) { }
public VideosController(ControllerServicesContext context, IFileSystemGenericRepositoryFactory fileSystemGenericRepositoryFactory) : base(context) { _fileSystemGenericRepositoryFactory = fileSystemGenericRepositoryFactory; _hostingEnvironment = context.HostingEnvironment; }
public MvcControllerHomeBase(ControllerServicesContext context, JsonNavigationService navigationService) : base(context) { _hostingEnvironment = context.HostingEnvironment; _navigationService = navigationService; }
public ProjectsController(ControllerServicesContext context, IProjectApplicationService service) : base(context, service) { }
public RootController(ControllerServicesContext context) : base(context) { }
public HomeController(ControllerServicesContext context) : base(context) { }