public IEnumerable <Event> GetEventTransactions(DateTime start, DateTime end) { using (var context = new ETLChatContext()) { return(context.GetEventDetails(start, end)); } }
public void GetEventDetailsTestWithoutParameters() { var events = context.GetEventDetails(null, null); Assert.IsTrue(events.Count() > 0); }