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()