Пример #1
0
 public static long Save(CLayer.Rooms room)
 {
     DataLayer.Rooms rooms = new DataLayer.Rooms();
     return(rooms.Save(room));
 }
Пример #2
0
 public static CLayer.Rooms Get(long roomid)
 {
     DataLayer.Rooms rooms = new DataLayer.Rooms();
     return(rooms.Get(roomid));
 }
Пример #3
0
 public static void Delete(long roomid)
 {
     DataLayer.Rooms rooms = new DataLayer.Rooms();
     rooms.Delete(roomid);
 }
Пример #4
0
 public static List <CLayer.Rooms> GetAll(long propertyid)
 {
     DataLayer.Rooms rooms = new DataLayer.Rooms();
     return(rooms.GetAll(propertyid));
 }