Esempio n. 1
0
        private static ManyToManyRepository <ManyToMany> ManyToManyRepository()
        {
            var contextMock = new Mock <PropertyDatabaseContext>();

            var repository = new ManyToManyRepository <ManyToMany>(contextMock.Object);

            return(repository);
        }
        private static ManyToManyRepository <ManyToMany> ManyToManyRepository()
        {
            var contextMock = new Mock <TravelDbContext>();

            var repository = new ManyToManyRepository <ManyToMany>(contextMock.Object);

            return(repository);
        }