protected override MonitorResult Action() { TimeReportModel timeReportModel = GetApi <RubidiumApi>().GetTimeReport(); Log.Debug("{@bitReport}", timeReportModel); return(new MonitorResult()); }
private void AssertEqual(Data.Entities.TimeReport report, TimeReportModel reportModel) { Assert.Equal(report.Id, reportModel.Id); Assert.Equal(report.TimeWorked, reportModel.TimeWorkedInHours); Assert.Equal(report.Date, reportModel.Date); Assert.Equal(report.DateCreated, reportModel.DateCreated); Assert.Equal(report.DateModified, reportModel.DateModified); }