public void UpdateDeptRep(string deptcode, int cid) { Thread emailThreadWithParamC = new Thread(() => CRepMailNotification(deptcode)); emailThreadWithParamC.Start(); EFBroker_DeptEmployee.UpdateDeptRep(deptcode, cid); Thread emailThreadWithParamS = new Thread(() => SRepMailNotification(deptcode)); emailThreadWithParamS.Start(); }