Beispiel #1
0
 public async Task ChangePassword(string userId, string password)
 {
     try
     {
         await festiMSClient.InvokeApiAsync("Password/ChangePassword", JObject.FromObject(new ChangePasswordPoco {
             Password = password, UserId = userId
         }), System.Net.Http.HttpMethod.Post, null);
     }
     catch (Exception e)
     {
         Console.WriteLine(e);
         throw;
     }
 }
Beispiel #2
0
 public async Task <List <Event> > GetUpcommingEvents()
 {
     return(await _festiMsClient.InvokeApiAsync <List <Event> >($"Planning/GetEvents", HttpMethod.Get, null));
 }