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