public void SaveProducto(int code, string descripcion, int typeCode, string imagen) { if (code == 0) { _productoServices.InsertProducto(descripcion, typeCode, imagen); } else { _productoServices.EditProducto(code, descripcion, typeCode, imagen); } }