Правки
This commit is contained in:
parent
4ebe950696
commit
97cbcc60a4
@ -3,16 +3,15 @@ using Microsoft.Extensions.Logging;
|
||||
using Newtonsoft.Json;
|
||||
using Npgsql;
|
||||
using ProjectGasStation.Entities;
|
||||
using System.Transactions;
|
||||
|
||||
namespace ProjectGasStation.Repositories.Implementations;
|
||||
|
||||
public class ContractorFuelRepository : IContractorFuelRepository
|
||||
{
|
||||
private readonly IConnectionString _connectionString;
|
||||
private readonly ILogger<FuelRepository> _logger;
|
||||
private readonly ILogger<ContractorFuelRepository> _logger;
|
||||
|
||||
public ContractorFuelRepository(IConnectionString connectionString, ILogger<FuelRepository> logger)
|
||||
public ContractorFuelRepository(IConnectionString connectionString, ILogger<ContractorFuelRepository> logger)
|
||||
{
|
||||
_connectionString = connectionString;
|
||||
_logger = logger;
|
||||
|
@ -9,9 +9,9 @@ namespace ProjectGasStation.Repositories.Implementations;
|
||||
public class ContractorRepository : IContractorRepository
|
||||
{
|
||||
private readonly IConnectionString _connectionString;
|
||||
private readonly ILogger<FuelRepository> _logger;
|
||||
private readonly ILogger<ContractorRepository> _logger;
|
||||
|
||||
public ContractorRepository(IConnectionString connectionString, ILogger<FuelRepository> logger)
|
||||
public ContractorRepository(IConnectionString connectionString, ILogger<ContractorRepository> logger)
|
||||
{
|
||||
_connectionString = connectionString;
|
||||
_logger = logger;
|
||||
|
@ -9,9 +9,9 @@ namespace ProjectGasStation.Repositories.Implementations;
|
||||
public class FuelSaleRepository : IFuelSaleRepository
|
||||
{
|
||||
private readonly IConnectionString _connectionString;
|
||||
private readonly ILogger<FuelRepository> _logger;
|
||||
private readonly ILogger<FuelSaleRepository> _logger;
|
||||
|
||||
public FuelSaleRepository(IConnectionString connectionString, ILogger<FuelRepository> logger)
|
||||
public FuelSaleRepository(IConnectionString connectionString, ILogger<FuelSaleRepository> logger)
|
||||
{
|
||||
_connectionString = connectionString;
|
||||
_logger = logger;
|
||||
|
@ -9,9 +9,9 @@ namespace ProjectGasStation.Repositories.Implementations;
|
||||
public class SalespersonRepository : ISalespersonRepository
|
||||
{
|
||||
private readonly IConnectionString _connectionString;
|
||||
private readonly ILogger<FuelRepository> _logger;
|
||||
private readonly ILogger<SalespersonRepository> _logger;
|
||||
|
||||
public SalespersonRepository(IConnectionString connectionString, ILogger<FuelRepository> logger)
|
||||
public SalespersonRepository(IConnectionString connectionString, ILogger<SalespersonRepository> logger)
|
||||
{
|
||||
_connectionString = connectionString;
|
||||
_logger = logger;
|
||||
|
@ -9,9 +9,9 @@ namespace ProjectGasStation.Repositories.Implementations;
|
||||
public class ShiftRepository : IShiftRepository
|
||||
{
|
||||
private readonly IConnectionString _connectionString;
|
||||
private readonly ILogger<FuelRepository> _logger;
|
||||
private readonly ILogger<ShiftRepository> _logger;
|
||||
|
||||
public ShiftRepository(IConnectionString connectionString, ILogger<FuelRepository> logger)
|
||||
public ShiftRepository(IConnectionString connectionString, ILogger<ShiftRepository> logger)
|
||||
{
|
||||
_connectionString = connectionString;
|
||||
_logger = logger;
|
||||
|
Loading…
Reference in New Issue
Block a user