ToPersianMetod by Mahan

This commit is contained in:
SamSys
2025-03-16 23:30:06 +03:30
parent b81c5163e5
commit f85e040750
2 changed files with 35 additions and 9 deletions

View File

@@ -36,7 +36,12 @@ public class UidService : IUidService
if(!requestResult.IsSuccessStatusCode)
return null;
var responseResult = await requestResult.Content.ReadFromJsonAsync<PersonalInfoResponse>();
return responseResult;
responseResult.BasicInformation.FirstName = responseResult.BasicInformation.FirstName.ToPersian();
responseResult.BasicInformation.LastName = responseResult.BasicInformation.LastName.ToPersian();
responseResult.BasicInformation.FatherName = responseResult.BasicInformation.FatherName.ToPersian();
return responseResult;
}