public ActionResult Details(int id) { ISongsRepository <SongDto> songsRepo = Container.Resolve <ISongsRepository <SongDto> >(DefaultRepository); DetailDto songDetail = songsRepo.Details(id, User.Identity.GetUserId()); return(View(songDetail)); }