public async Task <ISingleModelResponse <Player> > CreatePlayerAsync(Player item) { Logger?.LogInformation($"{nameof(CreatePlayerAsync)} has been invoked"); var response = new SingleModelResponse <Player>(); try { await PlayerRepository.AddItemAsync(item); response.Model = item; } catch (Exception ex) { response.SetError(ex, Logger); } return(response); }