예제 #1
0
        public Page UpdateOnePost(Post post)
        {
            Page page = new Page();

            page.Success = _iPostProvider.UpdateOnePost(post);
            page.Code    = page.Success?EnumCode.Success:EnumCode.Failed;
            return(page);
        }