Ejemplo n.º 1
0
        //[Transactional]
        virtual public object Get([FromServices] BaseRepository <Song> repoSong, [FromServices] BaseRepository <Detail> repoDetail, [FromServices] SongRepository repoSong2,
                                  [FromServices] SongService serviceSong)
        {
            //repoSong.Insert(new Song());
            //repoDetail.Insert(new Detail());
            //repoSong2.Insert(new Song());

            serviceSong.Test1();
            return("111");
        }
Ejemplo n.º 2
0
 //[Transactional]
 virtual public object Get([FromServices] BaseRepository <Song> repoSong, [FromServices] BaseRepository <Detail> repoDetail, [FromServices] SongRepository repoSong2,
                           [FromServices] SongService serviceSong)
 {
     serviceSong.Test1();
     return("111");
 }