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