One controller for two tables?

Thanks)