/// <summary> /// Constructor for temple controller. /// </summary> /// <param name="templeService">The service for temple.</param> /// <param name="commonResource"></param> public OfferingController(IOfferingService offeringService, ICommonResource commonResource) { _offeringService = offeringService; _commonResource = commonResource; }
public OfferingsController(IOfferingService offeringService) { _offeringService = offeringService; }
public OfferingsController(IOfferingService offeringService, IMapper mapper) { this.offeringService = offeringService; this.mapper = mapper; }
public SaleOfferingController(IOfferingService offeringService, IFileService fileService) { _offeringService = offeringService; _fileService = fileService; }
public void SetUp() { _offeringServ = new OfferingService(new FakeOfferingRepository()); }
public SchedulesController(IScheduleService scheduleService, IOfferingService offeringService) { _scheduleService = scheduleService; _offeringService = offeringService; }
public OfferingController(IOfferingService offeringService, IMapper mapper) { _service = offeringService; _mapper = mapper; }