/// <summary> /// 根据用户访问的地址 判断是否有权限访问 /// </summary> /// <param name="controller">controller</param> /// <param name="action">action</param> /// <param name="UserId">用户</param> /// <returns></returns> public int GetFormByUserId(string controller, string action, int UserId) { return(EntityDao.GetFormByUserId(controller, action, UserId)); }
public IList <FormDomain> GetFormByUserId(int UserId) { return(EntityDao.GetFormByUserId(UserId)); }