public async Task <IActionResult> InboxShowById()
        {
            string machineryServiceId      = HttpContext.Request.Query["machineryServiceId"].ToString();
            InboxShowByIdResponse response = _iAdminCallCenterService.InboxShowById(machineryServiceId);

            return(Ok(response));
        }
示例#2
0
        public IActionResult InboxShowById(string machineryServiceId)
        {
            var response = _adminCallCenter.InboxShowById(machineryServiceId);

            if (response.isSuccess == false)
            {
                return(null);
            }
            return(Ok(response));
        }