public async Task <IEnumerable <AdminAction> > GetAdminActionsByActionAndUserId(AdminActionType actionType) => await database.AdminActionRepository.GetAdminActionsWithUserAndCharacterNamesByActionAndUserId( actionType, httpContextReader.CurrentUserId);
public static AdminActionDto OfType(this AdminActionDto adminActionDto, AdminActionType adminActionType) { adminActionDto.Type = adminActionType; return(adminActionDto); }