still refactoring
This commit is contained in:
parent
149583ffb3
commit
6e6aca44f0
36 changed files with 303 additions and 324 deletions
|
|
@ -172,7 +172,7 @@ namespace Yavsc.Controllers
|
|||
if (pro.Performer.Devices.Count > 0) {
|
||||
var regids = command.PerformerProfile.Performer
|
||||
.Devices.Select(d => d.GCMRegistrationId);
|
||||
grep = await _GCMSender.NotifyBookQueryAsync(_googleSettings,regids,yaev);
|
||||
grep = await _GCMSender.NotifyBookQueryAsync(regids,yaev);
|
||||
}
|
||||
|
||||
// TODO setup a profile choice to allow notifications
|
||||
|
|
@ -181,7 +181,6 @@ namespace Yavsc.Controllers
|
|||
ViewBag.GooglePayload=grep;
|
||||
|
||||
ViewBag.EmailSent = await _emailSender.SendEmailAsync(
|
||||
_siteSettings, _smtpSettings,
|
||||
command.PerformerProfile.Performer.UserName,
|
||||
command.PerformerProfile.Performer.Email,
|
||||
$"{command.Client.UserName} (un client) vous demande un rendez-vous",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue