public StartersViewModel Submit(DateTime queryDate) { var startersRequest = new StarterRequest( _rosterMaster); var result = startersRequest.Submit( queryDate); return(result); }
public void StarterRequest_ReturnsAllThePitchersForTheDay() { var es = new FbbEventStore.FbbEventStore(); var rm = new FbbRosters(es); var sut = new StarterRequest(rm); var result = sut.Submit( new DateTime(2019, 4, 25)); result.Dump(); Assert.IsNotNull(result); }