/// <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;
 }
Exemple #2
0
 public OfferingsController(IOfferingService offeringService)
 {
     _offeringService = offeringService;
 }
Exemple #3
0
 public OfferingsController(IOfferingService offeringService, IMapper mapper)
 {
     this.offeringService = offeringService;
     this.mapper          = mapper;
 }
Exemple #4
0
 public SaleOfferingController(IOfferingService offeringService, IFileService fileService)
 {
     _offeringService = offeringService;
     _fileService     = fileService;
 }
Exemple #5
0
 public void SetUp()
 {
     _offeringServ = new OfferingService(new FakeOfferingRepository());
 }
Exemple #6
0
 public SchedulesController(IScheduleService scheduleService,
                            IOfferingService offeringService)
 {
     _scheduleService = scheduleService;
     _offeringService = offeringService;
 }
 public OfferingController(IOfferingService offeringService, IMapper mapper)
 {
     _service = offeringService;
     _mapper  = mapper;
 }