Пример #1
0
        internal IEnumerable <Contractor> GetContractorsByPersonnelId(int persId)
        {
            Job valid = _jrepo.Get(persId);

            if (valid == null)
            {
                throw new Exception("Invalid Id");
            }
            return(_crepo.GetContractorsByPersonnelId(persId));
        }