public IActionResult GetDetailById(int id) { var result = _urunService.GetDetailById(id); if (result.Success) { return(Ok(result)); } return(BadRequest(result)); }