Esempio n. 1
0
        public ActionResult <Keep> Put(int id, [FromBody] Keep value)
        {
            Keep result = _repo.GetOneByIdAndUpdate(id, value);

            if (result != null)
            {
                return(result);
            }
            return(NotFound());
        }