初始化CRICS
This commit is contained in:
23
Service/Implement/AppMenuManager.cs
Normal file
23
Service/Implement/AppMenuManager.cs
Normal file
@@ -0,0 +1,23 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Linq.Dynamic;
|
||||
using System.Text;
|
||||
using Domain;
|
||||
using Dao;
|
||||
|
||||
namespace Service.Implement
|
||||
{
|
||||
public class AppMenuManager : GenericManagerBase<AppMenu>, IAppMenuManager
|
||||
{
|
||||
public IList<AppMenu> LoadAllByPage(out long total, int page, int rows, string order, string sort)
|
||||
{
|
||||
return ((Dao.IAppMenuRepository)(this.CurrentRepository)).LoadAllByPage(out total, page, rows, order, sort).ToList();
|
||||
}
|
||||
|
||||
public IList<AppMenu> LoadAll(int type, int hotelID)
|
||||
{
|
||||
return ((Dao.IAppMenuRepository)(this.CurrentRepository)).LoadAll(type, hotelID).ToList();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user