public IHttpActionResult CreatePromotion(webModel.Promotion promotion)
		{
			var retVal = _promotionService.CreatePromotion(promotion.ToCoreModel());
			return GetPromotionById(retVal.Id);
		}
 public IHttpActionResult UpdateDynamicContent(webModel.DynamicContentItem contentItem)
 {
     _dynamicContentService.UpdateContents(new coreModel.DynamicContentItem[] { contentItem.ToCoreModel() });
     return StatusCode(HttpStatusCode.NoContent);
 }
		public IHttpActionResult UpdatePromotions(webModel.Promotion promotion)
		{
			_promotionService.UpdatePromotions(new coreModel.Promotion[] { promotion.ToCoreModel() });
			return StatusCode(HttpStatusCode.NoContent);
		}
 public IHttpActionResult UpdateDynamicContentFolder(webModel.DynamicContentFolder folder)
 {
     _dynamicContentService.UpdateFolder(folder.ToCoreModel());
     return StatusCode(HttpStatusCode.NoContent);
 }
 public IHttpActionResult CreateDynamicContent(webModel.DynamicContentItem contentItem)
 {
     var retVal = _dynamicContentService.CreateContent(contentItem.ToCoreModel());
     return GetDynamicContentById(retVal.Id);
 }
 public IHttpActionResult CreateDynamicContentFolder(webModel.DynamicContentFolder folder)
 {
     var retVal = _dynamicContentService.CreateFolder(folder.ToCoreModel());
     return GetDynamicContentFolderById(retVal.Id);
 }
 public IHttpActionResult UpdateDynamicContentPublication(webModel.DynamicContentPublication publication)
 {
     _dynamicContentService.UpdatePublications(new coreModel.DynamicContentPublication[] { publication.ToCoreModel() });
     return StatusCode(HttpStatusCode.NoContent);
 }
 public IHttpActionResult CreateDynamicContentPublication(webModel.DynamicContentPublication publication)
 {
     var retVal = _dynamicContentService.CreatePublication(publication.ToCoreModel());
     return GetDynamicContentPublicationById(retVal.Id);
 }
 public IHttpActionResult UpdateDynamicContentPlace(webModel.DynamicContentPlace contentPlace)
 {
     _dynamicContentService.UpdatePlace(contentPlace.ToCoreModel());
     return StatusCode(HttpStatusCode.NoContent);
 }
 public IHttpActionResult CreateDynamicContentPlace(webModel.DynamicContentPlace contentPlace)
 {
     var retVal = _dynamicContentService.CreatePlace(contentPlace.ToCoreModel());
     return GetDynamicContentPlaceById(retVal.Id);
 }