public PaymentManager(IDomainHub domainHub, IStorageProvider storageProvider, IApplicationSettings applicationSettings) { this.DomainHub = domainHub; PaymentTable = storageProvider.GetTable <DataAccess.Model.Storage.Payment>(); PublishableKey = applicationSettings["StripeAPIKeyPublishable"]; SecretKey = applicationSettings["StripeAPIKeySecret"]; }
public ApplicationController(IDomainHub domainHub, IHttpContextAccessor httpContextAccessor, IHostingEnvironment hostingEnvironment, reCaptchaHelper reCaptchaHelper, SignInManager <ApplicationUser> signInManager) { DomainHub = domainHub; HttpContextAccessor = httpContextAccessor; HostingEnvironment = hostingEnvironment; this.reCaptchaHelper = reCaptchaHelper; SignInManager = signInManager; }
public ApplicationManager(IStorageProvider storageProvider, IDomainHub domainHub) { ApplicationTable = storageProvider.GetTable <DataAccess.Model.Storage.Application>(); OrderTable = storageProvider.GetTable <Order>(); AssignmentTable = storageProvider.GetTable <Assignment>(); AppointmentLetterTable = storageProvider.GetTable <AppointmentLetter>(); AppointLogTable = storageProvider.GetTable <AppointLog>(); DomainHub = domainHub; CachedAssignments = new Dictionary <string, List <Assignment> >(); }
public AdminController(IApplicationSettings applicationSettings, IDomainHub domainHub) { ApplicationSettings = applicationSettings; DomainHub = domainHub; var adminAllowed = bool.Parse(applicationSettings["AdminAllowed"]); if (!adminAllowed) { throw new InvalidOperationException("AdminAllowed is set false is application settings."); } }
public static InformationModel GetInformationModel(IDomainHub domainHub, string key, string language) { var informationManager = domainHub.GetDomain <IInformationManager>(); var information = informationManager[key, language]; if (information == null) { return(null); } return(new InformationModel(information)); }
public AdminAppointmentLetterController(IDomainHub domainHub) { DomainHub = domainHub; }
public UserManager(IDomainHub domainHub, IStorageProvider storageProvider) { DomainHub = domainHub; UserTable = storageProvider.GetTable <DataAccess.Model.Storage.User>(); }
public ApiController(IDomainHub domainHub) { DomainHub = domainHub; }
public AdminAssignmentController(IDomainHub domainHub) { DomainHub = domainHub; }
public ResourceFileUrlRewriteRule(IApplicationSettings applicationSettings, IDomainHub domainHub) { ApplicationSettings = applicationSettings; DomainHub = domainHub; }
public AdminUserController(IDomainHub domainHub, UserManager <ApplicationUser> userManager) { DomainHub = domainHub; UserManager = userManager; }
public StatisticsController(IDomainHub domainHub) { DomainHub = domainHub; }
public UserStore(IDomainHub domainHub) { DomainHub = domainHub; }
public InfoController(IDomainHub domainHub) { DomainHub = domainHub; }
public ApiManager(IDomainHub domainHub) { DomainHub = domainHub; }
public AppointmentPredictionViewComponent(IDomainHub domainHub) { DomainHub = domainHub; }
public AppointmentLetterManager(IStorageProvider storageProvider, IDomainHub domainHub) { AppointmentLetterTable = storageProvider.GetTable <AppointmentLetter>(); DomainHub = domainHub; }
public EmailApplication(IDomainHub domainHub) { DomainHub = domainHub; }
public UserController(IDomainHub domainHub, SignInManager <ApplicationUser> signInManager) { DomainHub = domainHub; SignInManager = signInManager; }
public InfoContentViewComponent(IDomainHub domainHub) { DomainHub = domainHub; }
public LastAppointmentsViewComponent(IDomainHub domainHub) { DomainHub = domainHub; }
public AdminConfigurationController(IDomainHub domainHub) { DomainHub = domainHub; }