示例#1
0
 /// <summary>
 /// 获取详情
 /// </summary>
 /// <param name="c_id"></param>
 /// <returns></returns>
 public IActionResult Detail(int?c_id)
 {
     if (c_id == null)
     {
         return(View(new Model.DB.Category()));
     }
     else
     {
         var detail = category_dal.GetDetail(c_id.Value);
         return(View(detail));
     }
 }