public void AUComplete(object sender, DownloadStringCompletedEventArgs e) { try { var myString = e.Result.Remove(e.Result.IndexOf("<")); JObject o = JObject.Parse(myString); au = JsonConvert.DeserializeObject<UserAttention>(o.ToString()); } catch (Exception ex) { } }
public bool UpdateEntity(UserAttention entity) { return(base.UpdateEntity <UserAttention>(entity)); }
public bool DeleteEntity(UserAttention entity) { return(base.DeleteEntity <UserAttention>(entity)); }
public bool CreateEntity(UserAttention entity) { return(base.CreateEntity <UserAttention>(entity)); }