public override Request UpdateRequest(RequestModel <RequestDelegatePermissionsUserModel> requestModel) { var delegationRequestUsersExtInfo = new List <DelegationRequestUsersExtInfo>(); var request = ConvertToRequest(requestModel, (rua, user) => { delegationRequestUsersExtInfo.Add(GetDelegationRequestUsersExtInfo(rua, user)); }); var updatedRequest = RequestsRepository.UpdateRequest(request, !RequestSecurityService.InRole(AclRole.Administrator)); RequestsRepository.UpdateDelegationRequestUsersExtInfo(request.IdRequest, delegationRequestUsersExtInfo); return(updatedRequest); }