public async Task <ActionResult> DeletePlayerAsync(Guid teamId, Guid id)
        {
            await _playersRepository.DeleteAsync(teamId, id);

            return(NoContent());
        }
Exemple #2
0
 public async Task Delete(int id)
 {
     await _playersRepository.DeleteAsync(w => w.Id == id);
 }