Правки

This commit is contained in:
Никита Шипилов 2024-11-25 02:14:52 +04:00
parent 4ebe950696
commit 97cbcc60a4
5 changed files with 10 additions and 11 deletions

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;