public async Task <IEnumerable <Footballer> > GetAllFootballer([FromQuery] string search, [FromQuery] bool ascending) { return(await _footballerRepository.GetFootballersOrdered(search, ascending)); }
public async Task <IEnumerable <Footballer> > GetAllFootballer([FromQuery] string search, [FromQuery] bool ascending) { return(await _footballerRepository.GetFootballersOrdered(search, ascending)); }