コード例 #1
0
 public ObjectResultEx EditAuthor(RequestGovtRoleAuthor Param)
 {
     return(ObjectResultEx.Instance(GovtService.EditAuthor(Param), 1, RetrunMessge.SUCCESS, HttpCode.Success));
 }
コード例 #2
0
ファイル: GovtService.cs プロジェクト: EmilyEdna/KilyCore
        /// <summary>
        /// 编辑权限
        /// </summary>
        /// <param name="Param"></param>
        /// <returns></returns>
        public string EditAuthor(RequestGovtRoleAuthor Param)
        {
            GovtRoleAuthor author = Param.MapToEntity <GovtRoleAuthor>();

            return(Insert(author) ? ServiceMessage.INSERTSUCCESS : ServiceMessage.INSERTFAIL);
        }