Hello
Lets say I have something like this:
public ActionResult Test(SomeModel m)
{
try
{
_db.SaveModel(m);
SendMailToUser(m);
RedirectToRoute("Something");
}
catch
{
return View();
}
}
And I got problems with howto deal with this if "SendMailToUser" fails. Model gets saved to database. How can I make it continue if the mail fails to send?
/M