Beispiel #1
0
        public async Task <IActionResult> MakeAnnouncement([FromBody][Required] string message)
        {
            await _notificationService.AnnounceToAllStudentsAsync(message, Int32.Parse(User.Identity.Name));

            return(Ok());
        }