public static async Task <AllCarsPresenter> CreateAsync(AllCarsActivity activity) { var presenter = new AllCarsPresenter(activity); await presenter.GetCarsAsync(); return(presenter); }
public AdminCarAdapter(List <CarResponse> cars, AllCarsActivity activity) { this.cars = cars; this.activity = activity; presenter = new AdminCarPresenter(); }
public AllCarsPresenter(AllCarsActivity activity) { this.activity = activity; carService = new CarService(); }