Exemplo n.º 1
0
 public void Update(PratoViewModel entity)
 {
     _repo.Update(_mapper.Map <Prato>(entity));
 }
Exemplo n.º 2
0
 public void Insert(PratoViewModel entity)
 {
     _repo.Insert(_mapper.Map <Prato>(entity));
 }