public HttpResponseMessage testCheckPromotionValidation([FromUri] RequestHourlyPricing requestHourlyPricing) { using (var mgr = new HourlyPricingManager()) { var result = mgr.testCheckPromotionValidation(requestHourlyPricing); return(OkResponse <Promotion>(result)); } }
public HttpResponseMessage GetHourlyPricing([FromUri] RequestHourlyPricing requestHourlyPricing) { using (var mgr = new HourlyPricingManager()) { var result = mgr.GetPricing(requestHourlyPricing, Language); return(OkResponse <IEnumerable <HourlyPricing> >(result)); } }