/// <summary> /// /// </summary> /// <param name="mapper"></param> /// <param name="unitOfWork"></param> /// <param name="httpContextManager"></param> /// <param name="listManager"></param> public StatisticService(IMapper mapper, IUnitOfWork unitOfWork, IHttpContextManager httpContextManager) { _statistics = unitOfWork.Set <Statistic>(); _unitOfWork = unitOfWork; _httpContextManager = httpContextManager; _mapper = mapper; }
public DocumentSaleService(IMapper mapper, IUnitOfWork unitOfWork, IHttpContextManager httpContextManager) { _mapper = mapper; _unitOfWork = unitOfWork; _httpContextManager = httpContextManager; _documentSales = unitOfWork.Set <Sale>(); }
protected BaseService(IMapper mapper, IUnitOfWork unitOfWork, IHttpContextManager httpContextManager) { _mapper = mapper; _unitOfWork = unitOfWork; _httpContextManager = httpContextManager; _doctors = unitOfWork.Set<Doctor>(); }
/// <summary> /// /// </summary> /// <param name="mapper"></param> /// <param name="unitOfWork"></param> /// <param name="httpContextManager"></param> /// <param name="listManager"></param> public ActivityLogService(IMapper mapper, IUnitOfWork unitOfWork, IHttpContextManager httpContextManager) { _mapper = mapper; _unitOfWork = unitOfWork; _httpContextManager = httpContextManager; _activityLogs = unitOfWork.Set <ActivityLog>(); }
/// <summary> /// /// </summary> /// <param name="unitOfWork"></param> /// <param name="mapper"></param> /// <param name="httpContextManager"></param> public PatientService(IUnitOfWork unitOfWork, IMapper mapper, IHttpContextManager httpContextManager) { _unitOfWork = unitOfWork; _mapper = mapper; _httpContextManager = httpContextManager; _patients = unitOfWork.Set <Patient>(); }
/// <summary> /// /// </summary> /// <param name="mapper"></param> /// <param name="unitOfWork"></param> /// <param name="httpContextManager"></param> public DocumentService(IMapper mapper, IUnitOfWork unitOfWork, IHttpContextManager httpContextManager) { _mapper = mapper; _unitOfWork = unitOfWork; _documentRepository = unitOfWork.Set <Document>(); _httpContextManager = httpContextManager; }
public ProductSellerService(IMapper mapper, IHttpContextManager httpContextManager, IUnitOfWork unitOfWork) { _mapper = mapper; _httpContextManager = httpContextManager; _unitOfWork = unitOfWork; _productSellers = unitOfWork.Set <ProductSeller>(); }
/// <summary> /// /// </summary> /// <param name="mapper"></param> /// <param name="unitOfWork"></param> /// <param name="httpContextManager"></param> /// <param name="listManager"></param> public SmsService(IMapper mapper, IUnitOfWork unitOfWork, IHttpContextManager httpContextManager) { _smses = unitOfWork.Set <Sms>(); _unitOfWork = unitOfWork; _httpContextManager = httpContextManager; _mapper = mapper; }
public AuditLogService(IMapper mapper, IUnitOfWork unitOfWork, IDbSet <AuditLog> auditLogStore, IHttpContextManager httpContextManager) { _mapper = mapper; _unitOfWork = unitOfWork; _httpContextManager = httpContextManager; _auditLogs = unitOfWork.Set <AuditLog>(); }
public ExpertiseService(IHttpContextManager httpContextManager, IUnitOfWork unitOfWork, IMapper mapper) { _httpContextManager = httpContextManager; _unitOfWork = unitOfWork; _mapper = mapper; _expertises = unitOfWork.Set <Expertise>(); }
/// <summary> /// /// </summary> /// <param name="mapper"></param> /// <param name="unitOfWork"></param> /// <param name="httpContextManager"></param> /// <param name="listManager"></param> public AddressService(IMapper mapper, IUnitOfWork unitOfWork, IHttpContextManager httpContextManager) { _mapper = mapper; _unitOfWork = unitOfWork; _httpContextManager = httpContextManager; _addressStore = unitOfWork.Set <Address>(); }
public ProductService(IHttpContextManager httpContextManager, IUnitOfWork unitOfWork, IMapper mapper) { _httpContextManager = httpContextManager; _unitOfWork = unitOfWork; _mapper = mapper; _products = unitOfWork.Set <Product>(); }
public RefreshTokensQueryHandler(ApplicationContext context, UserManager <ApplicationUser> userManager, ITokenManager tokenManager, IHttpContextManager httpContextManager) { _context = context; _userManager = userManager; _tokenManager = tokenManager; _httpContextManager = httpContextManager; }
public RegisterNewUserCommandHandler(ApplicationContext context, UserManager <ApplicationUser> userManager, ITokenManager tokenManager, IHttpContextManager httpContextManager) { _context = context; _userManager = userManager; _tokenManager = tokenManager; _httpContextManager = httpContextManager; }
/// <summary> /// /// </summary> /// <param name="mapper"></param> /// <param name="unitOfWork"></param> /// <param name="httpContextManager"></param> /// <param name="listManager"></param> public EmailService(IMapper mapper, IUnitOfWork unitOfWork, IHttpContextManager httpContextManager, IConfigurationManager configurationManager) { _emails = unitOfWork.Set <Email>(); _unitOfWork = unitOfWork; _httpContextManager = httpContextManager; _configurationManager = configurationManager; _mapper = mapper; }
public ProductBuyService(IHttpContextManager httpContextManager, IUnitOfWork unitOfWork, IMapper mapper, IProductSellerService productSellerService) { _httpContextManager = httpContextManager; _unitOfWork = unitOfWork; _mapper = mapper; _productSellerService = productSellerService; _productBuys = unitOfWork.Set <ProductBuy>(); }
public DoctorService(IHttpContextManager httpContextManager, IUnitOfWork unitOfWork, IMapper mapper, IExpertiseService expertiseService) { _httpContextManager = httpContextManager; _unitOfWork = unitOfWork; _mapper = mapper; _expertiseService = expertiseService; _doctors = unitOfWork.Set <Doctor>(); }
/// <summary> /// /// </summary> /// <param name="unitOfWork"></param> /// <param name="mapper"></param> /// <param name="httpContextManager"></param> public ReportService(IUnitOfWork unitOfWork, IMapper mapper, IHttpContextManager httpContextManager, IConfigurationManager configurationManager) { _unitOfWork = unitOfWork; _reportRepository = unitOfWork.Set <Report>(); _mapper = mapper; _httpContextManager = httpContextManager; _configurationManager = configurationManager; }
public LoginUserQueryHandler(ApplicationContext context, UserManager <ApplicationUser> userManager, SignInManager <ApplicationUser> signInManager, ITokenManager tokenManager, IHttpContextManager httpContextManager) { _context = context; _userManager = userManager; _signInManager = signInManager; _tokenManager = tokenManager; _httpContextManager = httpContextManager; }
/// <summary> /// /// </summary> /// <param name="unitOfWork"></param> /// <param name="mapper"></param> /// <param name="applicationPermissionService"></param> /// <param name="roleStore"></param> /// <param name="httpContextManager"></param> /// <param name="listManager"></param> public RoleService(IUnitOfWork unitOfWork, IMapper mapper, IPermissionManager applicationPermissionService, IRoleStore <Role, Guid> roleStore, IHttpContextManager httpContextManager) : base(roleStore) { _applicationPermissionService = applicationPermissionService; _httpContextManager = httpContextManager; _unitOfWork = unitOfWork; _mapper = mapper; _roles = unitOfWork.Set <Role>(); AutoCommitEnabled = true; }
public FileManager( IDatabaseManager databaseManager, IHttpContextManager httpContextManager, IResponsePreprocessManager responsePreprocessManager, IOptions <AppOptions> appOptionsAccessor) { this.databaseManager = databaseManager; this.httpContextManager = httpContextManager; this.responsePreprocessManager = responsePreprocessManager; appOptions = appOptionsAccessor.Value; }
public DatabaseManager( IHttpContextManager httpContextManager, IQueryManager queryManager, IOptions <AppOptions> appOptionAccessor, ILoggerFactory loggerFactory) { this.httpContextManager = httpContextManager; this.queryManager = queryManager; appOptions = appOptionAccessor.Value; connection = new MySqlConnection(appOptions.DbConnectionConfig); logger = loggerFactory.CreateLogger <DatabaseManager>(); }
// private readonly IApplicationSignInManager _applicationSignInManager; #region Public Constructors /// <summary> /// /// </summary> /// <param name="mapper"></param> /// <param name="applicationPermissionService"></param> /// <param name="roleService"></param> /// <param name="userStore"></param> /// <param name="identity"></param> /// <param name="dataProtectionProvider"></param> /// <param name="smsService"></param> /// <param name="emailService"></param> /// <param name="unitOfWork"></param> /// <param name="listManager"></param> /// <param name="httpContextManager"></param> /// <param name="configurationManager"></param> public UserService(IMapper mapper, IUserStore <User, Guid> userStore, IDataProtectionProvider dataProtectionProvider, IIdentityMessageService smsService, IIdentityMessageService emailService, IRoleService roleService, IUnitOfWork unitOfWork, IHttpContextManager httpContextManager) : base(userStore) { _mapper = mapper; _dataProtectionProvider = dataProtectionProvider; _users = unitOfWork.Set <User>(); _roleService = roleService; _unitOfWork = unitOfWork; _httpContextManager = httpContextManager; SmsService = smsService; EmailService = emailService; AutoCommitEnabled = true; }
/// <inheritdoc /> /// <summary> /// </summary> /// <param name="unitOfWork"></param> /// <param name="mapper"></param> /// <param name="roleStore"></param> /// <param name="eventPublisher"></param> /// <param name="permissionService"></param> /// <param name="permissionService1"></param> public RoleService(IUnitOfWork unitOfWork, IMapper mapper, IRoleStore <Role, Guid> roleStore, IEventPublisher eventPublisher, IPermissionService permissionService, IPermissionService permissionService1, IHttpContextManager httpContextManager) : base(roleStore) { _roleRepository = unitOfWork.Set <Role>(); _unitOfWork = unitOfWork; _eventPublisher = eventPublisher; _permissionService = permissionService; _permissionService = permissionService1; _httpContextManager = httpContextManager; _rolePermissionRepository = unitOfWork.Set <RolePermission>(); _mapper = mapper; AutoCommitEnabled = true; }
public MobileMessageManager( IFileManager fileManager, IDatabaseManager databaseManager, IHttpContextManager httpContextManager, IResponsePreprocessManager responsePreprocessManager, IOptionsMonitor <AppOptions> appOptionsMonitor) { this.fileManager = fileManager; this.databaseManager = databaseManager; this.httpContextManager = httpContextManager; this.responsePreprocessManager = responsePreprocessManager; appOptions = appOptionsMonitor.CurrentValue; }
public LogoutUserQueryHandler(IHttpContextManager httpContextManager, SignInManager <ApplicationUser> signInManager) { _httpContextManager = httpContextManager; _signInManager = signInManager; }
/// <summary> /// /// </summary> /// <param name="webContextManager"></param> public CommonService(IHttpContextManager httpContextManager) { _httpContextManager = httpContextManager; }