forked from slavaxom9k/PIBD-23_Fomichev_V.S._MagicCarpet
8 лаба
This commit is contained in:
@@ -22,6 +22,8 @@ internal class TourDataModel(string id, string tourName, string tourCountry, dou
|
||||
public double Price { get; private set; } = price;
|
||||
public TourType TourType { get; private set; } = tourType;
|
||||
|
||||
public TourDataModel() : this(string.Empty, string.Empty, string.Empty, 0, TourType.None) { }
|
||||
|
||||
public void Validate(IStringLocalizer<Messages> localizer)
|
||||
{
|
||||
if (Id.IsEmpty())
|
||||
|
||||
Reference in New Issue
Block a user