public string GetInfobyURL(string str) { try { return(infofromdb(rep.GetInfobyURL(str))); } catch (Exception ex) { return("Nothing was found by this URL"); } }