Add operation executor
This commit is contained in:
@ -7,7 +7,7 @@ namespace Hcs.WebApp.Services
|
||||
private readonly Uri baseUri = new($"{navigationManager.BaseUri}identity/");
|
||||
private readonly HttpClient httpClient = factory.CreateClient("WithIdentity");
|
||||
|
||||
public async Task ChangePassword(string oldPassword, string newPassword)
|
||||
public async Task ChangePasswordAsync(string oldPassword, string newPassword)
|
||||
{
|
||||
var uri = new Uri($"{baseUri}change-password");
|
||||
var content = new FormUrlEncodedContent(new Dictionary<string, string> {
|
||||
|
||||
Reference in New Issue
Block a user