лаба 2 готова
This commit is contained in:
@@ -6,16 +6,16 @@ public class Bus
|
||||
{
|
||||
public int Id { get; private set; }
|
||||
|
||||
public string LicensePlate { get; private set; } = string.Empty;
|
||||
public string Licence_plate { get; private set; } = string.Empty;
|
||||
|
||||
public string Model { get; private set; } = string.Empty;
|
||||
|
||||
public static Bus CreateEntity(int id, string licensePlate, string model)
|
||||
public static Bus CreateEntity(int id, string licencePlate, string model)
|
||||
{
|
||||
return new Bus
|
||||
{
|
||||
Id = id,
|
||||
LicensePlate = licensePlate,
|
||||
Licence_plate = licencePlate,
|
||||
Model = model
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user