using System; using System.Collections.Generic; using System.Data; using System.Linq; using System.Text; using Domain; using Dao; namespace Service.Implement { public class HostFaultsManager : GenericManagerBase, IHostFaultsManager { public IList LoadAllByPage(out long total, int page, int rows, string order, string sort, int hotelID) { return ((IHostFaultsRepository)CurrentRepository).LoadAllByPage(out total, page, rows, order, sort, hotelID).ToList(); } //public IList LoadCurrentHostFault(int hostID) //{ // return ((IHostFaultsRepository)CurrentRepository).LoadCurrentHostFault(hostID); //} public IList LoadHostFault(int hostID) { return ((IHostFaultsRepository)CurrentRepository).LoadHostFault(hostID); } public void DeleteByAddress(string address, int roomTypeID) { ((IHostFaultsRepository)CurrentRepository).DeleteByAddress(address, roomTypeID); } } }