public async Task <IActionResult> DeleteMeeting(int id)
        {
            var deletedMeeting = await _repo.DeleteMeeting(id);

            return(Ok(deletedMeeting));
        }
Example #2
0
 public void RemoveMeeting(int meetingId)
 {
     ValidationHelper.IntegerGreaterThanZero(meetingId, name: "Meeting id");
     _meetingsRepository.DeleteMeeting(meetingId);
 }