public List <Sample> GetSamples()
        {
            SampleDataAccess samda = new SampleDataAccess(SqlConConnectionString);

            return(samda.GetSamples());
        }
Example #2
0
        public void InsertSample(Sample s)
        {
            SampleDataAccess sampda = new SampleDataAccess(SqlConConnectionString);

            sampda.InsertSample(s);
        }
Example #3
0
 public SampleDataAccessTest()
 {
     _db   = new SampleDbContext();
     _data = new SampleDataAccess(_db);
 }