public ActionResult Index() { ISongsRepository <SongDto> songsRepo = Container.Resolve <ISongsRepository <SongDto> >(DefaultRepository); IEnumerable <SongDto> songs = null; using (Profiler.Step("Get all songs by " + DefaultRepository)) { songs = songsRepo.GetAll(Current.UserId); } return(View(songs)); }