public bool insertLink(tLinks obj) { lock (locker) { try { database.DeleteAll <tLinks>(); database.Insert(obj); return(true); } catch (Exception ex) { System.Diagnostics.Debug.WriteLine(ex.Message + "inserttLinks"); return(false); } } }
public static string getApiUrl() { tLinks objLink = App.Database.isLinkInDataBase(); return((objLink != null) ? objLink.baseWebApi : ""); }