Beispiel #1
0
 public DistributorController(IFoodBL productBL, IMapper mapper, IUserBL userBL, IFoodDataBL foodDataBL, ITransactionBL transactionBL)
 {
     _mapper        = mapper;
     _foodBL        = productBL;
     _foodDataBL    = foodDataBL;
     _transactionBL = transactionBL;
     _userBL        = userBL;
 }
Beispiel #2
0
 public StaffController(
     IFoodDataBL foodDataBL,
     ITransactionBL transactionBL,
     IMapper mapper)
 {
     _foodDataBL    = foodDataBL;
     _transactionBL = transactionBL;
     _mapper        = mapper;
 }
Beispiel #3
0
 public ProviderController(
     IFoodBL foodBL,
     IFoodDataBL foodDataBL,
     ITransactionBL transactionBL,
     ITreatmentBL treatmentBL,
     IPremisesBL premisesBL,
     IMapper mapper)
 {
     _foodBL        = foodBL;
     _foodDataBL    = foodDataBL;
     _transactionBL = transactionBL;
     _treatmentBL   = treatmentBL;
     _premisesBL    = premisesBL;
     _mapper        = mapper;
 }
Beispiel #4
0
 public GuestController(
     IUserBL userBL,
     IFoodDataBL foodDataBL,
     IFoodDetailBL foodBL,
     IMapper mapper,
     IEmailSender mailSender,
     IContractServices contractServices,
     IOptions <JWTSetttings> appSettings)
 {
     _userBL           = userBL;
     _foodDataBL       = foodDataBL;
     _foodDetailBL     = foodBL;
     _mapper           = mapper;
     _mailSender       = mailSender;
     _contractServices = contractServices;
     _appSettings      = appSettings.Value;
 }
Beispiel #5
0
 public FarmController(
     IFoodBL foodBL,
     IFoodDataBL foodDataBL,
     IPremisesBL premisesBL,
     ITransactionBL transactionBL,
     IFoodDetailBL foodDetailBL,
     IFeedingBL feedingBL,
     IVaccineBL vaccineBL,
     IMapper mapper)
 {
     _foodBL        = foodBL;
     _foodDataBL    = foodDataBL;
     _premisesBL    = premisesBL;
     _transactionBL = transactionBL;
     _foodDetailBL  = foodDetailBL;
     _feedingBL     = feedingBL;
     _vaccineBL     = vaccineBL;
     _mapper        = mapper;
 }