예제 #1
0
 public static bool InsertNewShelf(EShelf shelf)
 {
     if (shelf.ShelfNo == "" || shelf.Category.ID < 1)
     {
         return(false);
     }
     else
     {
         DALShelf.InsertNewShelf(shelf);
         return(true);
     }
 }
예제 #2
0
 public static bool Delete(EShelf shelf)
 {
     DALShelf.Delete(shelf);
     return(true);
 }
예제 #3
0
 public static bool Update(EShelf shelf)
 {
     DALShelf.Update(shelf);
     return(true);
 }
예제 #4
0
 public static EShelf GetIdOnly(int shelfID)
 {
     return(DALShelf.GetIdOnly(shelfID));
 }
예제 #5
0
 public static List <EShelf> GetAll()
 {
     return(DALShelf.GetAll());
 }