ПИбд-23. Гуторов И.А. Лабораторная работа 1 #1

Closed
vasmaae wants to merge 11 commits from LabWork_1 into main
8 changed files with 12 additions and 12 deletions
Showing only changes of commit a57d00ba3e - Show all commits

View File

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

View File

@ -8,5 +8,5 @@ public interface ICustomerExecutorReviewRepository
CustomerExecutorReview ReadCustomerExecutorReviewById(int id);
void CreateCustomerExecutorReview(CustomerExecutorReview CustomerContractReview);
void CreateCustomerExecutorReview(CustomerExecutorReview customerContractReview);
}

View File

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

View File

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

View File

@ -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)
{
}

View File

@ -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)
{
}

View File

@ -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)
{
}
}

View File

@ -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)
{
}
}