Exemple #1
0
        public int GetPrimaryWorkerOfTheCase(int caseID)
        {
            int workerId = 0;
            var worker   = workerRepository.FindByPrimaryAndCaseID(caseID);

            if (worker != null)
            {
                workerId = worker.WorkerID;
            }
            return(workerId);
        }