ПИбд-23. Гуторов И.А. Лабораторная работа 1 #1
@ -6,7 +6,7 @@ public interface IContractRepository
|
||||
{
|
||||
IEnumerable<Contract> ReadContracts(DateTime? dateFrom = null, DateTime? dateTo = null, int? customerId = null, int? executorId = null);
|
||||
|
||||
void CreateContract(Contract Contract);
|
||||
void CreateContract(Contract contract);
|
||||
|
||||
void DeleteContract(int id);
|
||||
}
|
||||
|
@ -8,5 +8,5 @@ public interface ICustomerExecutorReviewRepository
|
||||
|
||||
CustomerExecutorReview ReadCustomerExecutorReviewById(int id);
|
||||
|
||||
void CreateCustomerExecutorReview(CustomerExecutorReview CustomerContractReview);
|
||||
void CreateCustomerExecutorReview(CustomerExecutorReview customerContractReview);
|
||||
}
|
||||
|
@ -8,9 +8,9 @@ public interface IExecutorRepository
|
||||
|
||||
Executor ReadExecutorById(int id);
|
||||
|
||||
void CreateExecutor(Executor Executor);
|
||||
void CreateExecutor(Executor executor);
|
||||
|
||||
void UpdateExecutor(Executor Executor);
|
||||
void UpdateExecutor(Executor executor);
|
||||
|
||||
void DeleteExecutor(int id);
|
||||
}
|
||||
|
@ -8,9 +8,9 @@ public interface IServiceRepository
|
||||
|
||||
Service ReadServiceById(int id);
|
||||
|
||||
void CreateService(Service Service);
|
||||
void CreateService(Service service);
|
||||
|
||||
void UpdateService(Service Service);
|
||||
void UpdateService(Service service);
|
||||
|
||||
void DeleteService(int id);
|
||||
}
|
||||
|
@ -4,7 +4,7 @@ namespace PIbd_23_Gutorov_I.A._IT_Company.Repositories.Implementations;
|
||||
|
||||
public class ContractRepository : IContractRepository
|
||||
{
|
||||
public void CreateContract(Contract Contract)
|
||||
public void CreateContract(Contract contract)
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -4,7 +4,7 @@ namespace PIbd_23_Gutorov_I.A._IT_Company.Repositories.Implementations;
|
||||
|
||||
public class CustomerExecutorReviewRepository : ICustomerExecutorReviewRepository
|
||||
{
|
||||
public void CreateCustomerExecutorReview(CustomerExecutorReview CustomerContractReview)
|
||||
public void CreateCustomerExecutorReview(CustomerExecutorReview customerContractReview)
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -4,7 +4,7 @@ namespace PIbd_23_Gutorov_I.A._IT_Company.Repositories.Implementations;
|
||||
|
||||
public class ExecutorRepository : IExecutorRepository
|
||||
{
|
||||
public void CreateExecutor(Executor Executor)
|
||||
public void CreateExecutor(Executor executor)
|
||||
{
|
||||
}
|
||||
|
||||
@ -22,7 +22,7 @@ public class ExecutorRepository : IExecutorRepository
|
||||
return [];
|
||||
}
|
||||
|
||||
public void UpdateExecutor(Executor Executor)
|
||||
public void UpdateExecutor(Executor executor)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
@ -4,7 +4,7 @@ namespace PIbd_23_Gutorov_I.A._IT_Company.Repositories.Implementations;
|
||||
|
||||
internal class ServiceRepository : IServiceRepository
|
||||
{
|
||||
public void CreateService(Service Service)
|
||||
public void CreateService(Service service)
|
||||
{
|
||||
}
|
||||
|
||||
@ -22,7 +22,7 @@ internal class ServiceRepository : IServiceRepository
|
||||
return [];
|
||||
}
|
||||
|
||||
public void UpdateService(Service Service)
|
||||
public void UpdateService(Service service)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user