Added authentication and authorization, updated dependency injections, removed hard-coded connection string
This commit is contained in:
		| @@ -0,0 +1,13 @@ | ||||
| namespace ApplicationLayer.DataAccessingServices.VisaApplications.Models; | ||||
|  | ||||
| public class AddressModel | ||||
| { | ||||
|     /// City part of address | ||||
|     public Guid CityId { get; set; } | ||||
|  | ||||
|     /// Street part of address | ||||
|     public string Street { get; set; } = null!; | ||||
|  | ||||
|     /// Building part of address | ||||
|     public string Building { get; set; } = null!; | ||||
| } | ||||
| @@ -0,0 +1,14 @@ | ||||
| namespace ApplicationLayer.DataAccessingServices.VisaApplications.Models | ||||
| { | ||||
|     public class PastVisitModel | ||||
|     { | ||||
|         /// First day of <see cref="PastVisitModel"/> | ||||
|         public DateTime StartDate { get; set; } | ||||
|  | ||||
|         /// Last day of <see cref="PastVisitModel"/> | ||||
|         public DateTime EndDate { get; set; } | ||||
|  | ||||
|         /// Identifier of destination country of <see cref="PastVisitModel"/> | ||||
|         public Guid DestinationCountryId { get; set; } | ||||
|     } | ||||
| } | ||||
| @@ -0,0 +1,13 @@ | ||||
| namespace ApplicationLayer.DataAccessingServices.VisaApplications.Models; | ||||
|  | ||||
| public class PlaceOfWorkModel | ||||
| { | ||||
|     /// Name of hirer | ||||
|     public string Name { get; set; } = null!; | ||||
|  | ||||
|     /// <see cref="AddressModel"/> of hirer | ||||
|     public AddressModel Address { get; set; } = null!; | ||||
|  | ||||
|     /// Phone number of hirer | ||||
|     public string PhoneNum { get; set; } = null!; | ||||
| } | ||||
		Reference in New Issue
	
	Block a user