public IHttpActionResult Panic(PanicRequest panic) { Debug.WriteLine("Panic"); Debug.WriteLine($"{panic.Id}"); Debug.WriteLine($"{panic.Timestamp}"); var notifier = new Notifier(); notifier.Panic(); SmsProvider.SendSmsToVolunteer(1); return Content(HttpStatusCode.OK, new { }); }
public IHttpActionResult Panic() { var notifier = new Notifier(); notifier.Panic(); return Ok(); }