Пример #1
0
        public string Put(int todolistid, int id, [FromBody] JObject value)
        {
            var dict = value.ToObject <Dictionary <string, SerTodo> >();

            if (dict != null)
            {
                _service.ChangeTodo(todolistid, id, dict["todo"]);
                return(StatusResponse.TrueResponse());
            }
            return(StatusResponse.FalseResponse());
        }