public IActionResult GetBillDetailById(string id) { passport = CommonMethod.GetPassport(Request); var item = service.FindDetail(passport, id); if (item == null) { return(NotFound()); } ResultModel result = new ResultModel(true, item); return(new ObjectResult(result)); }