예제 #1
0
        public HttpResponseMessage CreateTodo([FromBody] CrearTodoRequest request)
        {
            var toDo = TodosRepository.InsertarTodo(request.Descripcion, request.idStatus, request.idUser, request.Fecha);

            return(Request.CreateResponse(HttpStatusCode.OK, toDo));
        }