Exemplo n.º 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;
     }
 }
Exemplo n.º 2
0
 public async Task <List <Event> > GetUpcommingEvents()
 {
     return(await _festiMsClient.InvokeApiAsync <List <Event> >($"Planning/GetEvents", HttpMethod.Get, null));
 }