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