Пример #1
0
        public async Task <ActionResult <String> > AddPatientAddress(Address_dto address)
        {
            try
            {
                var Id = await _patientService.AddPatientAddress(address);

                return(Ok(Id));
            }
            catch (Exception ex)
            {
                _logger.LogError(ex.Message);
                return(StatusCode(500));
            }
        }