Esempio n. 1
0
 public TbPrTrasladoInventario ViewModelToDomain(TrasladoInventarioViewModel viewModel)
 {
     return(new TbPrTrasladoInventario
     {
         IdTraslado = viewModel.IdTraslado,
         IdInventario = viewModel.IdInventario,
         CodigoArticulo = viewModel.CodigoArticulo,
         Descripcion = viewModel.Descripcion,
         Cantidad = viewModel.Cantidad,
         PrecioUnitario = viewModel.PrecioUnitario,
         CostoTotal = viewModel.CostoTotal,
     });
 }
Esempio n. 2
0
 public TbPrTrasladoInventario ViewModelToDomainEditar(TrasladoInventarioViewModel viewModel)
 {
     throw new NotImplementedException();
 }
Esempio n. 3
0
 public TbPrTrasladoInventario Update(TrasladoInventarioViewModel viewModel)
 {
     throw new NotImplementedException();
 }
Esempio n. 4
0
 public TbPrTrasladoInventario Create(TrasladoInventarioViewModel viewModel)
 {
     return(service.Save(ViewModelToDomain(viewModel)));
 }