// api/log/{offset}/{limit} public IEnumerable <RequestData> Get(long offset, int limit = 10) { if (offset < 0) { throw new ArgumentOutOfRangeException("offset"); } if (limit < 1) { throw new ArgumentOutOfRangeException("limit"); } return(_databaseProvider.GetLog(offset, limit)); }