public IHttpActionResult UpdateDynamicContentFolder(webModel.DynamicContentFolder folder)
 {
     _dynamicContentService.UpdateFolder(folder.ToCoreModel());
     return(StatusCode(HttpStatusCode.NoContent));
 }
		public static webModel.DynamicContentFolder ToWebModel(this coreModel.DynamicContentFolder folder)
		{
			var retVal = new webModel.DynamicContentFolder();
			retVal.InjectFrom(folder);
			return retVal;
		}
        public IHttpActionResult CreateDynamicContentFolder(webModel.DynamicContentFolder folder)
        {
            var retVal = _dynamicContentService.CreateFolder(folder.ToCoreModel());

            return(GetDynamicContentFolderById(retVal.Id));
        }