/// <inheritdoc /> public async Task <int> RegisterPatientAsync(PatientDto patient) { var domainPatient = await _patientRepository .AddAndSaveAsync(Mapper.Map <Patient>(patient)); return(domainPatient.Id); }
/// <inheritdoc /> public async Task <int> RegisterPatientAsync(PatientDto patient) { var domainPatient = await _patientRepository .AddAndSaveAsync(Mapper.Map <Patient>(patient)); return(domainPatient.Id); }