public ActionResult <CheckStaffInternalIdViewModel> CheckStaffInternalId(CheckStaffInternalIdViewModel checkStaffInternalIdViewModel) { CheckStaffInternalIdViewModel checkInternalId = new CheckStaffInternalIdViewModel(); try { checkInternalId = _staffService.CheckStaffInternalId(checkStaffInternalIdViewModel); } catch (Exception es) { checkInternalId._message = es.Message; checkInternalId._failure = true; } return(checkInternalId); }