mirror of
https://github.com/chsakell/aspnet-core-signalr-angular.git
synced 2025-12-22 17:27:48 +00:00
remove unused api methods
This commit is contained in:
@@ -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, MatchViewModel>(_match);
|
||||
return _matchVM;
|
||||
}
|
||||
|
||||
// PUT api/values/5
|
||||
[HttpPut("{id}")]
|
||||
public async void Put(int id, [FromBody]MatchScore score)
|
||||
|
||||
Reference in New Issue
Block a user