public IActionResult Delete(int id)
        {
            var temp = patientData.Delete(id);

            if (temp == null)
            {
                return(BadRequest());
            }
            patientData.Commit();
            return(NoContent());
        }