public static void Delete(string InfoIds) { DataLayer.Suggest suggest = new DataLayer.Suggest(); suggest.Delete(InfoIds); return; }
public static void SetStatus(string InfoIds, int Status) { DataLayer.Suggest suggest = new DataLayer.Suggest(); suggest.SetStatus(InfoIds, Status); return; }
// // TODO Use the following delete functions for deleting "propertysuggestion". Not being used now. // public static void Delete(int InfoId) { DataLayer.Suggest suggest = new DataLayer.Suggest(); suggest.Delete(InfoId); return; }
public static CLayer.Suggest Get(int InfoId) { DataLayer.Suggest suggest = new DataLayer.Suggest(); return(suggest.Get(InfoId)); }
public static int Save(CLayer.Suggest suggestdata) { DataLayer.Suggest suggest = new DataLayer.Suggest(); return(suggest.Save(suggestdata)); }
public static List <CLayer.Suggest> GetAll(int status) { DataLayer.Suggest suggest = new DataLayer.Suggest(); return(suggest.GetAll(status)); }
public static List <CLayer.Suggest> GetAll()// For getting all the suggestions with the status NotViewed and Viewd { DataLayer.Suggest suggest = new DataLayer.Suggest(); return(suggest.GetAll()); }