Example #1
0
 public void EmailToCustomer(BestOfferViewModel bestOfferViewModel)
 {
     try
     {
         var model = CreateEmailModel(bestOfferViewModel);
         userMailer.BestOfferCustomer(model.Email, model).Send();
     }
     catch (Exception ex)
     {
         throw new Exception("when asked to email the best offer email to the admin an error occured:\r\n" + ex.Message);
     }
 }