Primo commit

This commit is contained in:
Paolo Possanzini
2017-11-15 17:36:25 +01:00
commit 3d7571f000
63 changed files with 29433 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
using Step.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using System.Web.Http.Description;
namespace Step.Controllers
{
[RoutePrefix("api/data")]
public class DataController : ApiController
{
[ResponseType(typeof(TestModel))]
[Route(""), HttpGet]
public IHttpActionResult Test()
{
return Ok(new TestModel() { Id = 42 });
}
}
}