Exemple #1
0
        public void AddRoomDeviceTest()
        {
            RoomAsset rm = new RoomAsset
            {
                RoomId = 1,
                AssetId = 1,
                Amount = 150,
            };

            RoomAssetService.Add(rm);
            RoomAssetService.Save();
            showRoomDeviceList();
        }
 public static void Delete(RoomAsset roomDevice)
 {
     roomDeviceRepo.Delete(roomDevice);
 }
 public static void Edit(RoomAsset roomDevice)
 {
     roomDeviceRepo.Edit(roomDevice);
 }
 public static void Add(RoomAsset roomDevice)
 {
     roomDeviceRepo.Add(roomDevice);
 }