diff --git a/Controllers/FeedsController.cs b/Controllers/FeedsController.cs index 7e32028..1b5564a 100644 --- a/Controllers/FeedsController.cs +++ b/Controllers/FeedsController.cs @@ -26,22 +26,6 @@ namespace LiveGameFeed.Controllers _matchRepository = matchRepository; } - // GET api/values - [HttpGet] - public IEnumerable Get() - { - IEnumerable _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) diff --git a/Controllers/MatchesController.cs b/Controllers/MatchesController.cs index 5f690ea..7741a9e 100644 --- a/Controllers/MatchesController.cs +++ b/Controllers/MatchesController.cs @@ -33,15 +33,6 @@ namespace LiveGameFeed.Controllers return _matchesVM; } - // GET api/values/5 - [HttpGet("{id}")] - public MatchViewModel Get(int id) - { - Match _match = _matchRepository.GetSingle(id); - MatchViewModel _matchVM = Mapper.Map(_match); - return _matchVM; - } - // PUT api/values/5 [HttpPut("{id}")] public async void Put(int id, [FromBody]MatchScore score)