Exemplo n.º 1
0
 /// <summary>
 /// 添加菜单
 /// </summary>
 /// <param name="model">菜单实体</param>
 /// <returns>int</returns>
 public string Add(SysMenu model)
 {
     return(db.UP_AddMenus(model.Parent.ToString(), model.Name, model.Icon, model.Clazz, model.Area, model.Controller, model.Method, model.Parameter, model.Url, model.Creator).FirstOrDefault());
 }