public async Task <UserServiceResponse> VerifyUserAsync(UserVerification user) { var result = await UserManagementHttpClient .PostApiCallAsync(this._appSettings.Value.BaseAddress, this._appSettings.Value.UserVerificationAddress, user) .ConfigureAwait(true); return(result); }
public async Task <IActionResult> Search(RoleSearchModel searchModel) { var response = await UserManagementHttpClient.PostJsonAsync <GridDataModel <RoleListModel> >(EndpointConstant.Roles.LIST, new RoleSearchModel()); return(Json(response)); }