Exemplo n.º 1
0
 public BeerController()
 {
     _beerService     = new BeerService();
     _beerTypeService = new BeerTypeService();
     _countryService  = new CountryService();
     _cityService     = new CityService();
 }
Exemplo n.º 2
0
 public InitStaticData(IBeerService beerService, IBeerTypeService beerTypeService, IBrandService brandService, IUserService UserService)
 {
     this.BeerService     = beerService;
     this.BeerTypeService = beerTypeService;
     this.BrandService    = brandService;
     this.UserService     = UserService;
 }
Exemplo n.º 3
0
 public BeerTypeController(IMapper mapper, IBeerTypeService beerTypeService)
 {
     _mapper          = mapper;
     _beerTypeService = beerTypeService;
 }
Exemplo n.º 4
0
 public BeerTypeController(IBeerTypeService beerTypeService)
 {
     this.BeerTypeService = beerTypeService;
 }
Exemplo n.º 5
0
 public BeerTypeApiController(IBeerTypeService beerTypeServices)
 {
     this.beerTypeServices = beerTypeServices;
 }
Exemplo n.º 6
0
 public BeerTypeController()
 {
     _beerTypeService = new BeerTypeService();
     _beerService     = new BeerService();
 }
Exemplo n.º 7
0
 public BeerTypesController(IBeerTypeService beerTypeService)
 {
     _beerTypeService = beerTypeService;
 }