public IActionResult PutRecetum(Int64 key, [FromBody] Models.Agriculturebd.Recetum newItem)
        {
            if (newItem == null || newItem.Id != key)
            {
                return(BadRequest());
            }

            this.OnRecetumUpdated(newItem);
            this.context.Receta.Update(newItem);
            this.context.SaveChanges();

            return(new NoContentResult());
        }
        public IActionResult Post([FromBody] Models.Agriculturebd.Recetum item)
        {
            if (item == null)
            {
                return(BadRequest());
            }

            this.OnRecetumCreated(item);
            this.context.Receta.Add(item);
            this.context.SaveChanges();

            return(Created($"odata/Agriculturebd/Receta/{item.Id}", item));
        }
 partial void OnRecetumUpdated(Models.Agriculturebd.Recetum item);