remove unused api methods

This commit is contained in:
chsakell
2016-10-07 10:40:51 +03:00
parent 048968b9ba
commit b5144cc517
2 changed files with 0 additions and 25 deletions

View File

@@ -26,22 +26,6 @@ namespace LiveGameFeed.Controllers
_matchRepository = matchRepository;
}
// GET api/values
[HttpGet]
public IEnumerable<Feed> Get()
{
IEnumerable<Feed> _feeds = _feedRepository.GetAll();
return _feeds;
}
// GET api/feeds/5
[HttpGet("{id}")]
public Feed Get(int id)
{
return _feedRepository.GetSingle(id);
}
// POST api/feeds
[HttpPost]
public async void Post([FromBody]FeedViewModel feed)