небольшие правки

This commit is contained in:
2025-03-09 17:17:22 +04:00
parent 087a21da11
commit 86aefae2d4
9 changed files with 257 additions and 17 deletions

View File

@@ -28,7 +28,7 @@ internal class EmployeeStorageContract : IEmployeeStorageContract
}
public List<EmployeeDataModel> GetList(bool onlyActive = true, string? email = null, DateTime? fromBirthDate = null, DateTime? toBirthDate = null,
DateTime? fromEmploymentDate = null, DateTime? toEmploymentDate = null)
DateTime? fromEmploymentDate = null, DateTime? toEmploymentDate = null, string postId = null)
{
try
{

View File

@@ -13,7 +13,7 @@ internal class Tour
{
public required string Id { get; set; } = Guid.NewGuid().ToString();
public required string TourName { get; set; }
public string TourCountry { get; set; }
public string? TourCountry { get; set; }
public double Price { get; set; }
public TourType Type { get; set; }
[ForeignKey("TourId")]