se cambia a class based view el envio del registro