public async Task <IActionResult> GetById(int id) { var data = await customerDataService.GetByIdAsync(id); if (data == null) { return(Ok()); } return(Ok(data)); }
public async Task <IActionResult> GetById(int id) { var data = await customerDataService.GetByIdAsync(id); if (data == null) { return(Ok()); } return(Ok(data)); }