MVC relation implementation