ToPersianMetod by Mahan
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user