Esempio n. 1
0
        public BlogRepositoryTests()
        {
            this.blogRepository = new  BlogRepository(RepositoryConfiguration.ConnFactory(), RepositoryConfiguration.DatabaseName, RepositoryConfiguration.CollectionBlog);

            this.blogService = new BlogService(configurations.FakeMapper(), this.blogRepository);
        }
Esempio n. 2
0
        public PatientRepositoryTests()
        {
            this.patientRepository = new  PatientRepository(RepositoryConfiguration.ConnFactory(), RepositoryConfiguration.DatabaseName, RepositoryConfiguration.CollectionPatient);

            this.patientService = new PatientService(configurations.FakeMapper(), this.patientRepository);
        }