Skip to content

Commit

Permalink
Remove cruft.
Browse files Browse the repository at this point in the history
  • Loading branch information
mmacneil committed Apr 5, 2019
1 parent c4a8e08 commit 56d4277
Showing 1 changed file with 0 additions and 25 deletions.
25 changes: 0 additions & 25 deletions src/Resource.Api/Resource.Api/Controllers/ValuesController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,30 +17,5 @@ public ActionResult<IEnumerable<string>> Get()
{
return new JsonResult(User.Claims.Select(c => new { c.Type, c.Value }));
}

// GET api/values/5
[HttpGet("{id}")]
public ActionResult<string> Get(int id)
{
return "value";
}

// POST api/values
[HttpPost]
public void Post([FromBody] string value)
{
}

// PUT api/values/5
[HttpPut("{id}")]
public void Put(int id, [FromBody] string value)
{
}

// DELETE api/values/5
[HttpDelete("{id}")]
public void Delete(int id)
{
}
}
}

0 comments on commit 56d4277

Please sign in to comment.