private readonly IUserManager _userManager; ///< Manager for user #endregion #region [Public Methods] /// <summary> Gets the given request. </summary> /// <param name="request"> The request. </param> /// <returns> A Task<object> </returns> public async Task <object> Get(GetActivityLogs request) { request.DisplayType = "Screen"; ReportResult result = await GetReportActivities(request).ConfigureAwait(false); return(ToOptimizedResult(result)); }
private readonly IUserManager _userManager; ///< Manager for user #endregion #region [Public Methods] /// <summary> Gets the given request. </summary> /// <param name="request"> The request. </param> /// <returns> A Task<object> </returns> public object Get(GetActivityLogs request) { request.DisplayType = "Screen"; ReportResult result = GetReportActivities(request); return(ToOptimizedResult(result)); }