void SetupRepositories() { crustRepo = Dependencies.CreateCrustTypeRepository(); orderRepo = Dependencies.CreateOrderRepository(); pizzaSoldRepo = Dependencies.CreatePizzasSoldRepository(); presetRepo = Dependencies.CreatePresetPizzaRespository(); sizeRepo = Dependencies.CreateSizeRepository(); storeRepo = Dependencies.CreateStoreRepository(); userRepo = Dependencies.CreateUserRepository(); }
public PresetPizzaController(IPresetPizzaRepository repo) { this.repo = repo; }