public async Task <ActionResult <Meetings> > PostLink([FromBody] Meetings meeting) { List <Meetings> meetings = service.GetMeetings(); foreach (Meetings link in meetings) { service.DeleteLink(link.Id); } if (meeting == null) { return(BadRequest()); } service.PostLink(meeting); return(Ok()); }