Exemple #1
0
        public async Task <IActionResult> CancelMeeting([FromBody] string uuid)
        {
            try
            {
                await _repo.CancelMeeting(uuid);

                return(Ok("Cancelled successfully"));
            }
            catch (Exception e)
            {
                Console.WriteLine(e);
                return(new ObjectResult("Failed to cancel the meeting.")
                {
                    StatusCode = 500
                });
            }
        }