/// <summary> /// Returns a paged list containing the errors that occurred. /// Order by date descending. /// </summary> /// <param name="type">Error type. Works just like a "LIKE '%{0}%'".</param> /// <param name="handled">true for handled errors, false for unhandled errors and null para all errors.</param> /// <param name="start">Starting at (used for paging).</param> /// <returns>Paged list with the errors.</returns> public virtual PagedResult <Error> GetErrorsPagedList(string type, bool?handled, int start) { return(_errorRepository.FindByFilter(type, handled, start, ErrorsPageSize)); }