/// <summary> /// Intializes the private fields. /// </summary> /// <param name="formularyRepository">facilityDal</param> /// <param name="logger">logger</param> public FormularyManager(IFormularyRepository formularyRepository, ILogger <FormularyManager> logger, IMapper mapper) { _formularyRepository = formularyRepository; _logger = logger; _mapper = mapper; }
/// <summary> /// Constructor /// </summary> /// <param name="formularyRepository"></param> /// <param name="facilityRepository"></param> /// <param name="nDCRepository"></param> /// <param name="facilityNDCAssocRepository"></param> /// <param name="unitOfWork"></param> /// <param name="mapper"></param> /// <param name="itemReository"></param> /// <param name="medicationItemRepository"></param> public FormularyManager( IFormularyRepository formularyRepository, IFacilityRepository facilityRepository, INDCRepository nDCRepository, IFacilityNDCAssocRepository facilityNDCAssocRepository, IItemRepository itemReository, IMedicationItemRepository medicationItemRepository, IUnitOfWork unitOfWork, IMapper mapper ) { _itemReository = itemReository; _medicationItemRepository = medicationItemRepository; _formularyRepository = formularyRepository; _facilityRepository = facilityRepository; _nDCRepository = nDCRepository; _facilityNDCAssocRepository = facilityNDCAssocRepository; _unitOfWork = unitOfWork; _mapper = mapper; }