public void Update(SmtpConfigurationViewModel model, SmtpConfiguration entity)
 {
     Mapper.Map(model, entity);
 }
 public SmtpConfigurationViewModel ToViewModel(SmtpConfiguration entity)
 {
     return Mapper.Map<SmtpConfigurationViewModel>(entity);
 }