public List <Sample> GetSamples() { SampleDataAccess samda = new SampleDataAccess(SqlConConnectionString); return(samda.GetSamples()); }
public void InsertSample(Sample s) { SampleDataAccess sampda = new SampleDataAccess(SqlConConnectionString); sampda.InsertSample(s); }
public SampleDataAccessTest() { _db = new SampleDbContext(); _data = new SampleDataAccess(_db); }