示例#1
0
 public object Get(Articulo request)
 {
     return new ArticuloResponse()
         .PopulateWith(request.Id != default(long)
             ? RpArticulo.Cargar(request.Id)
             : RpArticulo.Cargar(request.Codigo,
             request.CodigoEmpresa));
 }
示例#2
0
 public object Put(Articulo request)
 {
     RpArticulo.Guardar(request);
     return request;
 }
示例#3
0
 public object Delete(Articulo request)
 {
     RpArticulo.Eliminar(request);
     return request;
 }
示例#4
0
 public void Options(Articulo request)
 {
 }