public async Task <IActionResult> Delete([FromRoute] int clubId) { var deleted = await _clubRepository.DeleteClubAsync(clubId); if (deleted) { return(NoContent()); } return(NotFound()); }
public async Task <IActionResult> Delete([FromRoute] int clubId) { var deleted = await _clubRepository.DeleteClubAsync(clubId); if (deleted) { return(NoContent()); } return(NotFound()); }