public async Task <IActionResult> Add([FromBody] MeetingsVM Meeting) { return(Ok(await _meetingRepository.AddMeeting(Meeting))); }
public async Task <IActionResult> AddMeeting(MeetingsDto meetingDto) { var newMeeting = await _repo.AddMeeting(meetingDto); return(Ok(newMeeting)); }