public ElementoRubrica Insert(ElementoRubrica elemento) { try { SecurityHelper.Login(this.Credentials); return(Rubrica.Library.RubricaServices.Insert(elemento)); } catch (Exception ex) { throw SoapExceptionFactory.Create(ex); } }
public void Delete(ElementoRubrica elemento) { try { SecurityHelper.Login(this.Credentials); Rubrica.Library.RubricaServices.Delete(elemento); } catch (Exception ex) { throw SoapExceptionFactory.Create(ex); } }
public ElementoRubrica[] Search(ref OpzioniRicerca opzioniRicerca) { try { SecurityHelper.Login(this.Credentials); return(Rubrica.Library.RubricaServices.Search(opzioniRicerca)); } catch (Exception ex) { throw SoapExceptionFactory.Create(ex); } }
public void ChangePassword(Rubrica.Library.Security.ChangePwdSecurityCredentials credentials) { try { SecurityHelper.Login(this.Credentials); Rubrica.Library.UtentiServices.ChangePassword(credentials); } catch (Exception ex) { throw SoapExceptionFactory.Create(ex); } }
public void Delete(Utente utente) { try { SecurityHelper.Login(this.Credentials); Rubrica.Library.UtentiServices.Delete(utente); } catch (Exception ex) { throw SoapExceptionFactory.Create(ex); } }
public Utente Update(Utente utente) { try { SecurityHelper.Login(this.Credentials); return(Rubrica.Library.UtentiServices.Update(utente)); } catch (Exception ex) { throw SoapExceptionFactory.Create(ex); } }
public ElementoRubrica UpdateMulticasella(ElementoRubrica elemento) { try { SecurityHelper.Login(this.Credentials); // Nuova gestione, corrispondente multicasella return(Rubrica.Library.RubricaServices.Update(elemento, true)); } catch (Exception ex) { throw SoapExceptionFactory.Create(ex); } }
public Rubrica.Library.Security.SecurityCredentialsResult ValidateCredentials() { try { return(Rubrica.Library.UtentiServices.ValidateCredentials ( new Rubrica.Library.Security.SecurityCredentials { UserName = this.Credentials.UserName, Password = this.Credentials.Password } )); } catch (Exception ex) { throw SoapExceptionFactory.Create(ex); } }