public RecipeFacade( IRecipeClient recipeClient, IOptions <ApiOptions> apiOptions, IOptions <WebOptions> webOptions) { _recipeClient = recipeClient; this.apiOptions = apiOptions; this.webOptions = webOptions; }
public RecipesFacade(IRecipeClient recipeClient) { this.recipeClient = recipeClient; }
public HomeController(IRecipeClient recipeClient) { this.recipeClient = recipeClient; }
public RecipeFacade(IRecipeClient recipeClient) { _recipeClient = recipeClient; }
public HomeController() { var apiClient = new ApiClient(HttpClientInstance.Instance); recipeClient = new RecipeClient(apiClient); }