Ejemplo n.º 1
0
 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;
 }
Ejemplo n.º 2
0
 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;
 }
Ejemplo n.º 3
0
        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;
        }
Ejemplo n.º 4
0
 public HomeController(
     IBeerTypesService beerTypes)
 {
     this.beerTypes = beerTypes;
 }
Ejemplo n.º 5
0
 public AllBeersController(IBeersService beers, IBeerTypesService beerTypes, ICountriesService countries)
 {
     this.beers     = beers;
     this.beerTypes = beerTypes;
     this.countries = countries;
 }
Ejemplo n.º 6
0
 public AllRecipesController(IRecipesService recipes, IBeerTypesService beerTypes)
 {
     this.recipes   = recipes;
     this.beerTypes = beerTypes;
 }
Ejemplo n.º 7
0
 public AllBeerTypesController(IBeerTypesService beerTypes)
 {
     this.beerTypes = beerTypes;
 }
Ejemplo n.º 8
0
 public RecipeController(IRecipesService recipes, IIdentifierProvider identifier, IBeerTypesService beerTypes)
 {
     this.recipes    = recipes;
     this.beerTypes  = beerTypes;
     this.identifier = identifier;
 }
Ejemplo n.º 9
0
 public AllBeerTypesController(IBeerTypesService beerTypes)
 {
     this.beerTypes = beerTypes;
 }
Ejemplo n.º 10
0
 public RecipeController(IRecipesService recipes, IIdentifierProvider identifier, IBeerTypesService beerTypes)
 {
     this.recipes = recipes;
     this.beerTypes = beerTypes;
     this.identifier = identifier;
 }
Ejemplo n.º 11
0
 public HomeController(
     IBeerTypesService beerTypes)
 {
     this.beerTypes = beerTypes;
 }
Ejemplo n.º 12
0
 public AllBeersController(IBeersService beers, IBeerTypesService beerTypes, ICountriesService countries)
 {
     this.beers = beers;
     this.beerTypes = beerTypes;
     this.countries = countries;
 }
Ejemplo n.º 13
0
 public AllRecipesController(IRecipesService recipes, IBeerTypesService beerTypes)
 {
     this.recipes = recipes;
     this.beerTypes = beerTypes;
 }