Example #1
0
        public async Task <Footballer> deleteByFootballerId(Guid footballerId)
        {
            var footballer = await footballerRepository.getFootballerById(footballerId);

            await footballerRepository.deleteFootballer(footballer);

            return(footballer);
        }