public async Task <IActionResult> Delete(string id) { if (!ModelState.IsValid) { return(BadRequest(ModelState)); } await _meetingRepository.RemoveMeeting(id); return(new ObjectResult(id)); }
public async Task <IActionResult> Delete(string id) { if (!ModelState.IsValid) { return(BadRequest(ModelState)); } await _meetingRepository.RemoveMeeting(id); return(new ObjectResult(id)); }