常用方法
常用方法
常用方法
常用方法
public async Task LeaveAtSessionAsync(AttendeeVO attendee) { AttendeeModel attendeeModel = _attendeeConverter.Parse(attendee); if (!(await _attendeeRepository.FindByIdInSessionTaskAsync(attendeeModel) is AttendeeModel currentAttendee)) { throw new Exception("Nao foi possivel pegar as informaçoes do participante"); } await _attendeeRepository.LeaveAttendeeTaskAsync(currentAttendee); }