/// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='userId'> /// </param> /// <param name='userName'> /// </param> /// <param name='email'> /// </param> /// <param name='type'> /// </param> /// <param name='dateFrom'> /// </param> /// <param name='dateTo'> /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task <object> GetAccountLogsAsync(this IAccountLog operations, string userId = default(string), string userName = default(string), string email = default(string), int type = default(int), System.DateTime?dateFrom = default(System.DateTime?), System.DateTime?dateTo = default(System.DateTime?), CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.GetAccountLogsWithHttpMessagesAsync(userId, userName, email, type, dateFrom, dateTo, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }
public LoggingController(IErrorLog errorLogService, IAccountLog accountLogService, IPaymentLog paymentLogService, IQueryLog queryLogService, ITicketActionLog ticketActionLogService, ITicketDealLog ticketDealLogService) { _errorLogService = errorLogService; _accountLogService = accountLogService; _paymentLogService = paymentLogService; _queryLogService = queryLogService; _ticketActionLogService = ticketActionLogService; _ticketDealLogService = ticketDealLogService; }
/// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='userId'> /// </param> /// <param name='userName'> /// </param> /// <param name='email'> /// </param> /// <param name='type'> /// </param> /// <param name='dateFrom'> /// </param> /// <param name='dateTo'> /// </param> public static object GetAccountLogs(this IAccountLog operations, string userId = default(string), string userName = default(string), string email = default(string), int type = default(int), System.DateTime?dateFrom = default(System.DateTime?), System.DateTime?dateTo = default(System.DateTime?)) { return(operations.GetAccountLogsAsync(userId, userName, email, type, dateFrom, dateTo).GetAwaiter().GetResult()); }