示例#1
0
        public async Task <ActionResult> Create([Bind("Title,Owner")] Todo todo)
        {
            await _downstreamWebApi.PostForUserAsync <Todo, Todo>(ServiceName, "api/todolist", todo);

            return(RedirectToAction("Index"));
        }