Ejemplo n.º 1
0
 public static async Task <TheSetupMarketAsManager> CreateAsync(CarObject car)
 {
     return(new TheSetupMarketAsManager(car.Id, await TheSetupMarketApiProvider.GetAvailableSetups(car.Id).ConfigureAwait(false)));
 }
Ejemplo n.º 2
0
        public static async Task <TheSetupMarketAsManager> CreateAsync(CarObject car)
        {
            var data = await TheSetupMarketApiProvider.GetAvailableSetups(car.Id);

            return(data == null ? null : new TheSetupMarketAsManager(car.Id, data));
        }
Ejemplo n.º 3
0
 private async void UpdateTsmSetupsCount()
 {
     TsmSetupsCount = (await TheSetupMarketApiProvider.GetAvailableSetups(Id))?.Count;
 }