public BeerController(IBeersService beers, IIdentifierProvider identifier, ICountriesService countries, IBeerTypesService beerTypes, ICommentsService comments) { this.beers = beers; this.countries = countries; this.beerTypes = beerTypes; this.identifier = identifier; this.comments = comments; }
public BreweriesController(IMapper mapper, IBreweryService breweryService, IBeerTypesService beerTypesService) { Guard.WhenArgument(mapper, nameof(mapper)).IsNull().Throw(); Guard.WhenArgument(breweryService, nameof(breweryService)).IsNull().Throw(); Guard.WhenArgument(beerTypesService, nameof(beerTypesService)).IsNull().Throw(); this.mapper = mapper; this.breweryService = breweryService; this.beerTypesService = beerTypesService; }
public HomeController( IBeerTypesService beerTypes) { this.beerTypes = beerTypes; }
public AllBeersController(IBeersService beers, IBeerTypesService beerTypes, ICountriesService countries) { this.beers = beers; this.beerTypes = beerTypes; this.countries = countries; }
public AllRecipesController(IRecipesService recipes, IBeerTypesService beerTypes) { this.recipes = recipes; this.beerTypes = beerTypes; }
public AllBeerTypesController(IBeerTypesService beerTypes) { this.beerTypes = beerTypes; }
public RecipeController(IRecipesService recipes, IIdentifierProvider identifier, IBeerTypesService beerTypes) { this.recipes = recipes; this.beerTypes = beerTypes; this.identifier = identifier; }