public async Task <bool> Register(LoginModelCreate newUser) { var request = new HttpRequestMessage(HttpMethod.Put , Endpoints.RegisterUserEndpoint); request.Content = new StringContent(JsonConvert.SerializeObject(newUser) , Encoding.UTF8, "application/json"); var client = this.client.CreateClient(); HttpResponseMessage response = await client.SendAsync(request); return(response.IsSuccessStatusCode); }
public Task <string> CreateObjectAndReturnId(string url, LoginModelCreate obj) { throw new NotImplementedException(); }
public Task <LoginModelCreate> CreateObject(string url, LoginModelCreate obj) { throw new NotImplementedException(); }
public Task <bool> Update(string url, LoginModelCreate obj) { throw new NotImplementedException(); }