still refactoring

This commit is contained in:
Paul Schneider 2018-05-04 10:45:45 +02:00
commit 6e6aca44f0
36 changed files with 303 additions and 324 deletions

View file

@ -130,7 +130,7 @@ namespace Yavsc.ApiControllers
var regids = estimate.Client.Devices.Select(d => d.GCMRegistrationId).ToArray();
bool gcmSent = false;
if (regids.Length>0) {
var grep = await _GCMSender.NotifyEstimateAsync(_googleSettings,regids,yaev);
var grep = await _GCMSender.NotifyEstimateAsync(regids,yaev);
gcmSent = grep.success>0;
}
return Ok (new { ProviderValidationDate = estimate.ProviderValidationDate, GCMSent = gcmSent });
@ -187,4 +187,4 @@ namespace Yavsc.ApiControllers
return File(fi.OpenRead(), "application/x-pdf", filename); ;
}
}
}
}