public async Task <IActionResult> InboxShowById() { string machineryServiceId = HttpContext.Request.Query["machineryServiceId"].ToString(); InboxShowByIdResponse response = _iAdminCallCenterService.InboxShowById(machineryServiceId); return(Ok(response)); }
public IActionResult InboxShowById(string machineryServiceId) { var response = _adminCallCenter.InboxShowById(machineryServiceId); if (response.isSuccess == false) { return(null); } return(Ok(response)); }