Compare commits
No commits in common. "5f5b8012f1678bfb96745e4b812ab258a16fc214" and "46cd09306bce7121d315a4814f23c462acdf6f9c" have entirely different histories.
5f5b8012f1
...
46cd09306b
@ -9,7 +9,7 @@ namespace ProjectCompanyFurniture.Repositories;
|
|||||||
|
|
||||||
public interface IInvoiceRepository
|
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? clientId = null);
|
||||||
void CreateInvoice(Invoice invoice);
|
void CreateInvoice(Invoice invoice);
|
||||||
void DeleteInvoice(int id);
|
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? clientId = null)
|
||||||
{
|
{
|
||||||
_logger.LogInformation("Получение всех объектов");
|
_logger.LogInformation("Получение всех объектов");
|
||||||
try
|
try
|
||||||
|
Loading…
x
Reference in New Issue
Block a user