Compare commits
4 Commits
46cd09306b
...
5f5b8012f1
Author | SHA1 | Date | |
---|---|---|---|
|
5f5b8012f1 | ||
|
e0fcf63c76 | ||
|
50c8f3070e | ||
|
f127d97074 |
@ -9,7 +9,7 @@ namespace ProjectCompanyFurniture.Repositories;
|
|||||||
|
|
||||||
public interface IInvoiceRepository
|
public interface IInvoiceRepository
|
||||||
{
|
{
|
||||||
IEnumerable<Invoice> ReadInvoices (DateTime? dateForm = null, DateTime? dateTo = null, int? clientId = null);
|
IEnumerable<Invoice> ReadInvoices (DateTime? dateForm = null, DateTime? dateTo = null, int? productId = 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? clientId = null)
|
public IEnumerable<Invoice> ReadInvoices(DateTime? dateForm = null, DateTime? dateTo = null, int? productId = null)
|
||||||
{
|
{
|
||||||
_logger.LogInformation("Получение всех объектов");
|
_logger.LogInformation("Получение всех объектов");
|
||||||
try
|
try
|
||||||
|
Loading…
x
Reference in New Issue
Block a user