public void Get_WhenNoStartDate_ReturnsEntity()
        {
            // Arrange
            DateTime?endDate = new DateTime(2014, 10, 29);

            _webFactory.RegisterResultForUri(
                string.Format("{0}/{1}/{2}?EndDate={3}", _cf.Uri.AbsoluteUri, _service.Route, _newGuid,
                              endDate.Value.Date.ToString("s")), new Timesheet().ToJson());

            // Act, Assert
            Timesheet result = _service.Get(_cf, _newGuid, null, endDate, null);

            Assert.IsNotNull(result);
        }
 public ActionResult <List <TimesheetModel> > GetTimesheets()
 {
     return(_timesheetService.Get());
 }