public void Test_getAllData(string seriesId, string date, int entries) { DateTime dt = DateTime.Parse(date); var res = _instance.getAllDataOnOneSeriesIdAtDate(seriesId, dt); Assert.Equal(entries, res.Count); }
public List <Viewdata> getAllDataOnOneSeriesIdAtDate(string id, DateTime date) { return(_data.getAllDataOnOneSeriesIdAtDate(id, date)); }