Wednesday 15 May 2013

durandal - how do we send emails and sms after saving data using breeze -


How can we send emails and SMS after saving data using air? Working, but after saving the data I need to do some more operations. Someone can help me solve this problem.

  var saveChanges = function () {return manager.saveChanges (). Then (saveSceeded). Fail (saveFailed); Save save (save), {log ('saved data successfully', while saving, true); } SaveFailed (error) {var msg = 'Save failed:' + getErrorMessages (error); Log error (msg, error); Error.message = msg; Throw error; }}; Public SaveResult SaveChanges (JobsSaveBandal) {Returns _ContaxProvider. Save Changes (SevBandal); }   

thanks

Everything from I Breeze and Durandal you Do not see droids ... they are both javascript library and you can not send an e-mail to the browser, I know that

You should do an Ajax call or something with your controller back with your controller or C # -

as well as @ Powell If you save in your controller, you also trigger an email there.

No comments:

Post a Comment