Beispiel #1
0
        public virtual IHttpActionResult Find([FromUri] SysMenuFindRequest request)
        {
            var result = _sysMenuService.Find(request.Id);

            if (result == null)
            {
                return(Fail("抱歉,没查到数据"));
            }
            return(Succeed(new SysMenuFindResponse
            {
                Id = result.Id
            }));
        }