Application creating but without past visas and visits
This commit is contained in:
		| @@ -5,7 +5,7 @@ namespace BlazorWebAssemblyVisaApiClient.Infrastructure.Services.UserDataProvide | ||||
|     public interface IUserDataProvider | ||||
|     { | ||||
|  | ||||
|         public ApplicantModel? GetApplicant(); | ||||
|         public Task<ApplicantModel> GetApplicant(); | ||||
|  | ||||
|         public string? GetCurrentRole(); | ||||
|     } | ||||
|   | ||||
| @@ -8,10 +8,9 @@ namespace BlazorWebAssemblyVisaApiClient.Infrastructure.Services.UserDataProvide | ||||
|     { | ||||
|         private static readonly JwtSecurityTokenHandler tokenHandler = new (); | ||||
|  | ||||
|         public ApplicantModel? GetApplicant() | ||||
|         public async Task<ApplicantModel> GetApplicant() | ||||
|         { | ||||
|             //todo api action | ||||
|             return null; | ||||
|             return await client.GetApplicantAsync(); | ||||
|         } | ||||
|  | ||||
|         public string? GetCurrentRole() | ||||
|   | ||||
		Reference in New Issue
	
	Block a user