roomtypebll.cs
来自「酒店管理系统」· CS 代码 · 共 44 行
CS
44 行
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 + =
减小字号Ctrl + -
显示快捷键?