Added application layer
This commit is contained in:
		
							
								
								
									
										13
									
								
								SchengenVisaApi/ApplicationLayer/ApplicationLayer.csproj
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								SchengenVisaApi/ApplicationLayer/ApplicationLayer.csproj
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,13 @@ | ||||
| <Project Sdk="Microsoft.NET.Sdk"> | ||||
|  | ||||
|     <PropertyGroup> | ||||
|         <TargetFramework>net8.0</TargetFramework> | ||||
|         <ImplicitUsings>enable</ImplicitUsings> | ||||
|         <Nullable>enable</Nullable> | ||||
|     </PropertyGroup> | ||||
|  | ||||
|     <ItemGroup> | ||||
|       <ProjectReference Include="..\Domains\Domains.csproj" /> | ||||
|     </ItemGroup> | ||||
|  | ||||
| </Project> | ||||
| @@ -0,0 +1,30 @@ | ||||
| using Domains.ApplicantDomain; | ||||
| using Domains.VisaApplicationDomain; | ||||
|  | ||||
| namespace ApplicationLayer; | ||||
|  | ||||
| public record CreateVisaApplicationRequest( | ||||
|     Name FullName, | ||||
|     Passport Passport, | ||||
|     DateOnly BirthDate, | ||||
|     string BirthCity, | ||||
|     string BirthCountry, | ||||
|     string CitizenShip, | ||||
|     string CitizenshipByBirth, | ||||
|     Gender Gender, | ||||
|     MaritalStatus MaritalStatus, | ||||
|     Name FatherName, | ||||
|     Name MotherName, | ||||
|     bool IsNonResident, | ||||
|     ReentryPermit ReentryPermit, | ||||
|     string JobTitle, | ||||
|     PlaceOfWork PlaceOfWork, | ||||
|     string DestinationCountry, | ||||
|     VisaCategory VisaCategory, | ||||
|     bool IsForGroup, | ||||
|     RequestedNumberOfEntries RequestedNumberOfEntries, | ||||
|     int ValidDaysRequested, | ||||
|     PastVisa[] PastVisas, | ||||
|     PermissionToDestCountry? PermissionToDestCountry, | ||||
|     PastVisit[] PastVisits | ||||
|     ); | ||||
		Reference in New Issue
	
	Block a user