public void Handle(GetAuthenticationTypes command)
 {
     var items = _repository.GetAll<AuthenticationType>();
     var dto = items.Select(s => AuthenticationTypeDto.Existing(s.Id, s.Type)).ToList();
     command.Set(dto);
 }
 public void SetAuthentication(IHandleGettingConfiguration handler, GetAuthenticationTypes command)
 {
     handler.Handle(command);
     Authentication = command.Authentication.ToList();
 }
 public void SetAuthentication(IHandleGettingConfiguration handler)
 {
     var command = new GetAuthenticationTypes();
     handler.Handle(command);
     Authentication = command.Authentication.ToList();
 }