Beispiel #1
0
 ///<summary>
 ///上一个导航标题
 ///<para>Id:导航标题Id</para>
 /// </summary>
 public NavInfoModel GetModelByIdPrev(int Id)
 {
     try
     {
         NavInfoDAL dal = new NavInfoDAL();
         return(dal.GetModelByIdPrev(Id));
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Beispiel #2
0
 /// <summary>
 /// 根据navid获取该行数据
 /// </summary>
 /// <param name="NavID"></param>
 /// <returns></returns>
 public NavInfoModel GetModelById(int NavID)
 {
     try
     {
         NavInfoDAL dal = new NavInfoDAL();
         return(dal.GetModelById(NavID));
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Beispiel #3
0
 public List <NavInfoModel> GetAllNavInfoByGuoJia(string GuoJia)
 {
     try
     {
         NavInfoDAL dal = new NavInfoDAL();
         return(dal.GetAllNavInfoByGuoJia(GuoJia));
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Beispiel #4
0
 public bool EditByModel(NavInfoModel model)
 {
     try
     {
         NavInfoDAL dal = new NavInfoDAL();
         return(dal.EditByModel(model));
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Beispiel #5
0
 public List <NavInfoModel> GetNavInfo(string GuoJia, int ParentId, string BuWei)
 {
     try
     {
         NavInfoDAL dal = new NavInfoDAL();
         return(dal.GetNavInfo(GuoJia, ParentId, BuWei));
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Beispiel #6
0
 public List <NavInfoModel> GetNavInfoByGuoJiaAndParentID(string GuoJia, int ParentId)
 {
     try
     {
         NavInfoDAL dal = new NavInfoDAL();
         return(dal.GetNavInfoByGuoJiaAndParentId(GuoJia, ParentId));
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }