DD.WellWorkover.Cloud/AsbCloudApp/Services/IRequestTracker.cs

18 lines
603 B
C#
Raw Normal View History

using AsbCloudApp.Data;
using System;
using System.Collections.Generic;
namespace AsbCloudApp.Services
{
public interface IRequerstTrackerService
{
void RegisterRequest(RequestLogDto requestLog);
void RegisterRequestError(RequestLogDto requestLog, Exception ex);
IEnumerable<RequestLogDto> GetAll(int take = -1);
IEnumerable<RequestLogDto> GetFast(int take = -1);
IEnumerable<RequestLogDto> GetSlow(int take = -1);
IEnumerable<RequestLogDto> GetError(int take = -1);
IEnumerable<RequestLogUserDto> GetUsersStat(int take = -1);
}
}