Ejemplo n.º 1
0
 /// <summary>
 /// 修改玩法
 /// </summary>
 /// <param name="aEditPlayMethod">玩法实体信息</param>
 /// <returns></returns>
 public bool UpdatePlayMethod(PlayMethodEntity aEditPlayMethod)
 {
     return(mobjPlayMethodDAL.Update(aEditPlayMethod));
 }
Ejemplo n.º 2
0
        /// <summary>
        /// 修改玩法
        /// </summary>
        /// <param name="aEditEntity">玩法实体类</param>
        /// <returns></returns>
        public ActionResult UpdatePlayMethod(PlayMethodEntity aEditEntity)
        {
            bool isSuccess = mobjPlayMethodBLL.UpdatePlayMethod(aEditEntity);

            return(Content(isSuccess.ToString()));
        }
Ejemplo n.º 3
0
 /// <summary>
 /// 添加一条玩法记录
 /// </summary>
 /// <param name="aAddPlayMethod">玩法实体信息</param>
 /// <returns></returns>
 public bool InsertPlayMethod(PlayMethodEntity aAddPlayMethod)
 {
     return(mobjPlayMethodDAL.Insert(aAddPlayMethod));
 }