Example #1
0
 public void UpdateServing(Serving serving)
 {
     servingRepository.Update(serving);
 }
Example #2
0
 public ActionResult Put([FromBody] Serving value)
 {
     _servingRepository.Update(value);
     return(Ok(_servingRepository.Save()));
 }