hjk
This commit is contained in:
parent
43a7e2c14b
commit
02ffbe56e0
@ -9,7 +9,7 @@ namespace ProjectCompanyFurniture.Repositories;
|
||||
|
||||
public interface IInvoiceRepository
|
||||
{
|
||||
IEnumerable<Invoice> ReadInvoices (DateTime? dateForm = null, DateTime? dateTo = null, int? productId = null);
|
||||
IEnumerable<Invoice> ReadInvoices (DateTime? dateForm = null, DateTime? dateTo = null, int? productID = null);
|
||||
void CreateInvoice(Invoice invoice);
|
||||
void DeleteInvoice(int id);
|
||||
|
||||
|
@ -76,7 +76,7 @@ public class InvoiceRepository : IInvoiceRepository
|
||||
}
|
||||
}
|
||||
|
||||
public IEnumerable<Invoice> ReadInvoices(DateTime? dateForm = null, DateTime? dateTo = null, int? productId = null)
|
||||
public IEnumerable<Invoice> ReadInvoices(DateTime? dateForm = null, DateTime? dateTo = null, int? productID = null)
|
||||
{
|
||||
_logger.LogInformation("Получение всех объектов");
|
||||
try
|
||||
|
@ -42,7 +42,7 @@ public class ProductMovementRepository : IProductMovementRepository
|
||||
}
|
||||
}
|
||||
|
||||
public IEnumerable<ProductMovement> ReadProductMovements(DateTime? dateForm = null, DateTime? dateTo = null, int? productId = null)
|
||||
public IEnumerable<ProductMovement> ReadProductMovements(DateTime? dateForm = null, DateTime? dateTo = null, int? productID = null)
|
||||
{
|
||||
_logger.LogInformation("Получение всех объектов");
|
||||
try
|
||||
|
Loading…
x
Reference in New Issue
Block a user