From 71aa88ad1d20db34b22f3ad90e11c383e09db6bb Mon Sep 17 00:00:00 2001 From: cyxaruk Date: Wed, 13 Nov 2024 22:45:53 +0400 Subject: [PATCH] =?UTF-8?q?=D1=82=D0=B5=D0=BF=D0=B5=D1=80=D1=8C=20=D1=82?= =?UTF-8?q?=D0=BE=D1=87=D0=BD=D0=BE=20=D0=B2=D1=81=D0=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Repositories/Implementations/BusRepository.cs | 2 +- .../Repositories/Implementations/EmployeeRepository.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ProjectPeopleTransportation/ProjectPeopleTransportation/Repositories/Implementations/BusRepository.cs b/ProjectPeopleTransportation/ProjectPeopleTransportation/Repositories/Implementations/BusRepository.cs index 4da4941..3597080 100644 --- a/ProjectPeopleTransportation/ProjectPeopleTransportation/Repositories/Implementations/BusRepository.cs +++ b/ProjectPeopleTransportation/ProjectPeopleTransportation/Repositories/Implementations/BusRepository.cs @@ -14,7 +14,7 @@ public class BusRepository : IBusRepository public Bus ReadBusByID(int id) { - return Bus.CreateEntity(0, string.Empty, 0, 0); + return Bus.CreateEntity(0, string.Empty, string.Empty); } public IEnumerable ReadBuses() diff --git a/ProjectPeopleTransportation/ProjectPeopleTransportation/Repositories/Implementations/EmployeeRepository.cs b/ProjectPeopleTransportation/ProjectPeopleTransportation/Repositories/Implementations/EmployeeRepository.cs index 5e0ff59..742fe45 100644 --- a/ProjectPeopleTransportation/ProjectPeopleTransportation/Repositories/Implementations/EmployeeRepository.cs +++ b/ProjectPeopleTransportation/ProjectPeopleTransportation/Repositories/Implementations/EmployeeRepository.cs @@ -15,7 +15,7 @@ public class EmployeeRepository : IEmployeeRepository public Employee ReadEmployeeByID(int id) { - return Employee.CreateEntity(0, string.Empty, string.Empty, 0, EmployeePost.None); + return Employee.CreateEntity(0, string.Empty, string.Empty, EmployeePost.None); } public IEnumerable ReadEmployees()