public IActionResult Delete(string id) { if (_pharmacyService.Remove(_pharmacyService.Get(id))) { return(Ok()); } return(BadRequest()); }