public async Task <IActionResult> DeleteMeeting(int id) { var deletedMeeting = await _repo.DeleteMeeting(id); return(Ok(deletedMeeting)); }
public void RemoveMeeting(int meetingId) { ValidationHelper.IntegerGreaterThanZero(meetingId, name: "Meeting id"); _meetingsRepository.DeleteMeeting(meetingId); }