示例#1
0
 public static void Delete(string InfoIds)
 {
     DataLayer.Suggest suggest = new DataLayer.Suggest();
     suggest.Delete(InfoIds);
     return;
 }
示例#2
0
 public static void SetStatus(string InfoIds, int Status)
 {
     DataLayer.Suggest suggest = new DataLayer.Suggest();
     suggest.SetStatus(InfoIds, Status);
     return;
 }
示例#3
0
 //
 // 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;
 }
示例#4
0
 public static CLayer.Suggest Get(int InfoId)
 {
     DataLayer.Suggest suggest = new DataLayer.Suggest();
     return(suggest.Get(InfoId));
 }
示例#5
0
 public static int Save(CLayer.Suggest suggestdata)
 {
     DataLayer.Suggest suggest = new DataLayer.Suggest();
     return(suggest.Save(suggestdata));
 }
示例#6
0
 public static List <CLayer.Suggest> GetAll(int status)
 {
     DataLayer.Suggest suggest = new DataLayer.Suggest();
     return(suggest.GetAll(status));
 }
示例#7
0
 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());
 }