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