/// <summary> /// Initializes a new instance of the <see cref="ProductsService"/> class. /// </summary> /// <param name="mappers">The mappers<see cref="IMappers"/></param> /// <param name="mammothDBContext">The mammothDBContext<see cref="MammothDBContext"/></param> public ProductsService( IMappers mappers, MammothDBContext mammothDBContext) { this.mappers = mappers; this.mammothDBContext = mammothDBContext; }
/// <summary> /// Initializes a new instance of the <see cref="SalesService"/> class. /// </summary> /// <param name="mappers">The mappers<see cref="IMappers"/></param> /// <param name="mammothDBContext">The mammothDBContext<see cref="MammothDBContext"/></param> /// <param name="session">The session<see cref="ISession"/></param> public SalesService( IMappers mappers, MammothDBContext mammothDBContext, ISession session) { this.mappers = mappers; this.mammothDBContext = mammothDBContext; this.session = session; }
/// <summary> /// Initializes a new instance of the <see cref="ReportsService"/> class. /// </summary> /// <param name="configuration">The configuration<see cref="IConfiguration"/>.</param> /// <param name="mammothDBContext">The mammothDBContext<see cref="MammothDBContext"/>.</param> /// <param name="mappers">The mappers<see cref="IMappers"/>.</param> public ReportsService( IConfiguration configuration, MammothDBContext mammothDBContext, IMappers mappers) { this.configuration = configuration; this.mammothDBContext = mammothDBContext; this.mappers = mappers; }
/// <summary> /// Initializes a new instance of the <see cref="AuthenticateService"/> class. /// </summary> /// <param name="mappers">The mappers<see cref="IMappers"/>.</param> /// <param name="encryptionHelper">The encryptionHelper<see cref="IEncryptionHelper"/>.</param> /// <param name="mammothDBContext">The mammothDBContext<see cref="MammothDBContext"/>.</param> public AuthenticateService( IMappers mappers, ILogger <AuthenticateService> logger, IEncryptionHelper encryptionHelper, MammothDBContext mammothDBContext) { this.mappers = mappers; this.logger = logger; this.encryptionHelper = encryptionHelper; this.mammothDBContext = mammothDBContext; }