Removed location entities, fixed configurations and controllers' comments
This commit is contained in:
		| @@ -1,17 +0,0 @@ | ||||
| using Domains.VisaApplicationDomain; | ||||
|  | ||||
| namespace ApplicationLayer.Services.VisaApplications.Models | ||||
| { | ||||
|     /// Model of <see cref="PastVisit"/> with only name of the destination country | ||||
|     public class PastVisitModel | ||||
|     { | ||||
|         /// <inheritdoc cref="PastVisit.StartDate"/> | ||||
|         public DateTime StartDate { get; set; } | ||||
|  | ||||
|         /// <inheritdoc cref="PastVisit.EndDate"/> | ||||
|         public DateTime EndDate { get; set; } | ||||
|  | ||||
|         /// <inheritdoc cref="PastVisit.DestinationCountry"/> | ||||
|         public string DestinationCountry { get; set; } = null!; | ||||
|     } | ||||
| } | ||||
| @@ -1,17 +0,0 @@ | ||||
| using Domains.VisaApplicationDomain; | ||||
|  | ||||
| namespace ApplicationLayer.Services.VisaApplications.Models | ||||
| { | ||||
|     /// Model of <see cref="PastVisit"/> with only identifier of country | ||||
|     public class PastVisitModelForRequest | ||||
|     { | ||||
|         /// First day of <see cref="PastVisitModelForRequest"/> | ||||
|         public DateTime StartDate { get; set; } | ||||
|  | ||||
|         /// Last day of <see cref="PastVisitModelForRequest"/> | ||||
|         public DateTime EndDate { get; set; } | ||||
|  | ||||
|         /// Identifier of destination country of <see cref="PastVisitModelForRequest"/> | ||||
|         public Guid DestinationCountryId { get; set; } | ||||
|     } | ||||
| } | ||||
| @@ -18,7 +18,7 @@ namespace ApplicationLayer.Services.VisaApplications.Models | ||||
|         /// <inheritdoc cref="VisaApplication.PermissionToDestCountry"/> | ||||
|         public PermissionToDestCountry? PermissionToDestCountry { get; set; } | ||||
|  | ||||
|         public List<PastVisitModel> PastVisits { get; set; } = null!; | ||||
|         public List<PastVisit> PastVisits { get; set; } = null!; | ||||
|  | ||||
|         /// <inheritdoc cref="VisaApplication.VisaCategory"/> | ||||
|         public VisaCategory VisaCategory { get; set; } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user