常用方法
常用方法
常用方法
常用方法
public IActionResult Get(int id) { var found = phoneService.GetById(id); if (found == null) { return(NotFound()); } return(Ok(found)); }
public IActionResult Get(int id) { var found = phoneService.GetById(id); if (found == null) { return(NotFound()); } return(Ok(found)); }