예제 #1
0
        public async Task <IActionResult> Delete([FromRoute] Guid id)
        {
            try
            {
                await patientService.DeleteAsync(id);

                return(Ok());
            }
            catch (Exception e)
            {
                return(BadRequest(e.Message));
            }
        }