Undid last commit from me
This commit is contained in:
parent
d9205d425c
commit
668b29c068
@ -76,8 +76,6 @@ namespace Api.BusinessLogic
|
|||||||
if (log.Date <= dateTimeRange.DateTimeStart && log.Date >= dateTimeRange.DateTimeEnd) { rangedLogs.Add(log); }
|
if (log.Date <= dateTimeRange.DateTimeStart && log.Date >= dateTimeRange.DateTimeEnd) { rangedLogs.Add(log); }
|
||||||
}
|
}
|
||||||
|
|
||||||
if (rangedLogs.Count == 0) { return new ConflictObjectResult(new { message = "There is no logs for that periode" }); }
|
|
||||||
|
|
||||||
return new OkObjectResult(rangedLogs);
|
return new OkObjectResult(rangedLogs);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user