Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
public void NotifyAdminGroup(string subject, string message) { try { _notifyService.SendMessage(subject, message, _configService.GetAdminGroupMailAddresses()); } catch (ConfigurationException ex) { throw new ApplicationException("Error in Smtp client configuration.", ex); } catch (MessageNotSentException ex) { throw new BookingDomainValidationException(ErrorCodesConst.MESSAGE_NOT_SENT, Messages_RU.MESSAGE_NOT_SENT, ex); } catch (ApplicationException ex) { throw new ApplicationException("Exception occurred while sending mail to Admin group.", ex); } }