public Page DelOnePost(Int64 id) { Page page = new Page(); page.Success = _iPostProvider.DelOnePost(id); page.Code = page.Success ? EnumCode.Success : EnumCode.Failed; return(page); }