public async Task <IHttpActionResult> DeleteHobby([FromUri] int id) { await _hobbyService.DeleteHobbyAsync(id, CancellationToken.None); return(Ok()); }
public async Task <IHttpActionResult> DeleteHobby([FromUri] int id) { await _hobbyService.DeleteHobbyAsync(id, CancellationToken.None); return(Ok()); }