public static webModels.Notification ToWebModel(this coreModels.Notification notification)
        {
            webModels.Notification retVal = new webModels.Notification();

            retVal.InjectFrom(notification);

            retVal.IsEmail = notification.NotificationSendingGateway is IEmailNotificationSendingGateway;
            retVal.IsSms   = notification.NotificationSendingGateway is ISmsNotificationSendingGateway;

            return(retVal);
        }
		public static webModels.Notification ToWebModel(this coreModels.Notification notification)
		{
			webModels.Notification retVal = new webModels.Notification();

			retVal.InjectFrom(notification);

			retVal.IsEmail = notification.NotificationSendingGateway is IEmailNotificationSendingGateway;
			retVal.IsSms = notification.NotificationSendingGateway is ISmsNotificationSendingGateway;

			return retVal;
		}