Ejemplo n.º 1
0
 public UserBLImpl(IUserRepository userRepos
                   , IEmailSender mailSender
                   , IRoleRepository roleRepos
                   , IPremisesRepository premesisRepos
                   , IOptions <JWTSetttings> appSettings)
 {
     _mailSender    = mailSender;
     _userRepos     = userRepos;
     _roleRepos     = roleRepos;
     _premesisRepos = premesisRepos;
     _appSettings   = appSettings.Value;
 }
Ejemplo n.º 2
0
 public TransactionBLImpl(ITransactionRepository transactionRepos,
                          IPremisesRepository premisesRepos,
                          ITransactionStatusRepository transactionStatus,
                          IFoodRepository foodRepos,
                          ICategoryRepository categoryRepos,
                          IFoodRepository foodRepository)
 {
     _transactionRepos       = transactionRepos;
     _premisesRepos          = premisesRepos;
     _transactionStatusRepos = transactionStatus;
     _foodRepos     = foodRepos;
     _categoryRepos = categoryRepos;
     _productRepos  = foodRepository;
 }
Ejemplo n.º 3
0
 public RegisterInfoBLImpl(IRegisterInfoRepository registerRepos,
                           IPremisesTypeRepository premisesTypeRepos,
                           IPremisesRepository premisesRepos,
                           IUserRepository userRepository,
                           IEmailSender mailSender,
                           IRoleRepository roleRepos
                           )
 {
     _roleRepos         = roleRepos;
     _mailSender        = mailSender;
     _userRepository    = userRepository;
     _premisesRepos     = premisesRepos;
     _premisesTypeRepos = premisesTypeRepos;
     _registerRepos     = registerRepos;
 }
Ejemplo n.º 4
0
 public FoodDataBLImpl(IContractServices service,
                       ITreatmentRepository treatmentRepository,
                       IPremisesRepository premesisRepository,
                       ICategoryRepository categoryRepository,
                       IUserRepository userRepository,
                       IFoodDetailRepository foodDetailRepository,
                       IMapper mapper)
 {
     _service              = service;
     _treatmentRepository  = treatmentRepository;
     _premesisRepository   = premesisRepository;
     _categoryRepository   = categoryRepository;
     _userRepository       = userRepository;
     _foodDetailRepository = foodDetailRepository;
     _mapper = mapper;
 }
Ejemplo n.º 5
0
 public FoodBLImpl(
     IFoodRepository productRepos
     , ICategoryRepository categoryRepos
     , IDistributorFoodRepository distributorFoodRepository
     , IProviderFoodRepository providerFoodRepository
     , IFoodDetailRepository foodDetailRepository
     , IFeedingFoodRepository feedingFoodRepository
     , IVaccineFoodRepository vaccineFoodRepository
     , ITransactionRepository transactionRepository
     , IPremisesRepository premisesRepository
     )
 {
     _productRepos              = productRepos;
     _categoryRepos             = categoryRepos;
     _distributorFoodRepository = distributorFoodRepository;
     _providerFoodRepository    = providerFoodRepository;
     _foodDetailRepository      = foodDetailRepository;
     _feedingFoodRepository     = feedingFoodRepository;
     _vaccineFoodRepository     = vaccineFoodRepository;
     _transactionRepos          = transactionRepository;
     _premisesRepos             = premisesRepository;
 }
Ejemplo n.º 6
0
 public PremisesBLImpl(IPremisesRepository premisesRepository, ITransactionRepository transactionRepository)
 {
     _premisesRepository = premisesRepository;
     _transactionRepos   = transactionRepository;
 }