/// <summary>
        /// The patch desserts schema.
        /// </summary>
        /// <param name="id">
        /// The id.
        /// </param>
        /// <param name="patch">
        /// The patch.
        /// </param>
        /// <returns>
        /// The <see cref="Task"/>.
        /// </returns>
        public async Task <DessertsSchema> PatchDessertsSchema(string id, Delta <DessertsSchema> patch)
        {
            if (string.IsNullOrEmpty(id))
            {
                throw new ArgumentNullException("id");
            }
            if (patch == null)
            {
                throw new ArgumentNullException("patch");
            }
            var dto = await UpdateAsync(id, patch);

            await Services.Push.SendAsync(PushHelper.GetWindowsPushMessageForToastImageAndText03("Update:", dto.Title, dto.Subtitle, dto.Image));

            return(dto);
        }
        /// <summary>
        /// The post desserts schema.
        /// </summary>
        /// <param name="item">
        /// The item.
        /// </param>
        /// <returns>
        /// The <see cref="Task"/>.
        /// </returns>
        public async Task <IHttpActionResult> PostDessertsSchema(DessertsSchema item)
        {
            if (item == null)
            {
                throw new ArgumentNullException("item");
            }
            if (string.IsNullOrEmpty(item.Title) ||
                string.IsNullOrEmpty(item.Subtitle) ||
                string.IsNullOrEmpty(item.Image) ||
                string.IsNullOrEmpty(item.Description))
            {
                return(BadRequest("There are properties that are not defined."));
            }
            var current = await InsertAsync(item);

            await Services.Push.SendAsync(PushHelper.GetWindowsPushMessageForToastImageAndText03("Insert:", current.Title, current.Subtitle, current.Image));

            return(CreatedAtRoute("Tables", new { id = current.Id }, current));
        }