コード例 #1
0
 public async Task <IEnumerable <AdminAction> > GetAdminActionsByActionAndUserId(AdminActionType actionType)
 => await database.AdminActionRepository.GetAdminActionsWithUserAndCharacterNamesByActionAndUserId(
     actionType, httpContextReader.CurrentUserId);
コード例 #2
0
        public static AdminActionDto OfType(this AdminActionDto adminActionDto, AdminActionType adminActionType)
        {
            adminActionDto.Type = adminActionType;

            return(adminActionDto);
        }