Esempio n. 1
0
        protected override MonitorResult Action()
        {
            TimeReportModel timeReportModel = GetApi <RubidiumApi>().GetTimeReport();

            Log.Debug("{@bitReport}", timeReportModel);
            return(new MonitorResult());
        }
Esempio n. 2
0
 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);
 }