?? roomtypebll.cs
字號:
?using System;
using System.Collections.Generic;
using System.Text;
using HotelManagerDAL;
using HotelManagerModels;
namespace HotelManagerBLL
{
public class RoomTypeBLL
{
RoomTypeDAL dal = new RoomTypeDAL();
public List<RoomType> SelectRoomType()
{
return dal.SelectRoomType();
}
public List<RoomType> SelectRoomTypeByName(string typeName)
{
return dal.SelectRoomTypeByName(typeName);
}
public List<RoomType> SelectRoomTypeByTypeID(int typeID)
{
return dal.SelectRoomTypeByTypeID(typeID);
}
public void InsertRoomType(RoomType t)
{
dal.InsertRoomType(t);
}
public bool UpdateRoomTypeByID(RoomType t)
{
return dal.UpdateRoomTypeByID(t);
}
public bool DeleteRoomTypeByID(int typeID)
{
return dal.DeleteRoomTypeByID(typeID);
}
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -