public async Task <ActionResult <DefaultResponse <IEnumerable <EventHistoryData> > > > GetLogs()
 {
     return(Response(await _userAppService.GetHistoryLogs(_systemUser.Username)));
 }
Example #2
0
 public ActionResult <DefaultResponse <IEnumerable <EventHistoryData> > > GetLogs()
 {
     return(Response(_userAppService.GetHistoryLogs(GetUserId().Value)));
 }
        public async Task <ActionResult <DefaultResponse <IEnumerable <EventHistoryData> > > > ShowLogs(string username)
        {
            var clients = await _userManageAppService.GetHistoryLogs(username);

            return(Response(clients));
        }