public ObjectResultEx EditAuthor(RequestGovtRoleAuthor Param) { return(ObjectResultEx.Instance(GovtService.EditAuthor(Param), 1, RetrunMessge.SUCCESS, HttpCode.Success)); }
/// <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); }