public async Task<bool> SaveModel()
{
//update the local model instance
UpdateModelFromProperties();
//now push the update
HttpResponseMessage response;
if (_isNewObject)
{
response = await _model.Create(LoggedInUser.LoggedInClient);
}
else
{
response = await _model.Update(LoggedInUser.LoggedInClient);
}
return response.IsSuccessStatusCode;
}