Exemplo n.º 1
0
        public BorSection UpdateBorSection(BorSection updBorSection)
        {
            BorSection borSection = null;

            try
            {
                _borSectionDal.Update(updBorSection);
                borSection = updBorSection;
            }
            catch (RepositoryException ex)
            {
                throw new AisinoMesServiceException("修改工段信息失败!", ex);
            }
            return(borSection);
        }
Exemplo n.º 2
0
        public BorSection AddBorSection(BorSection newBorSection)
        {
            BorSection borSection = null;

            try
            {
                _borSectionDal.Add(newBorSection);
                borSection = newBorSection;
            }
            catch (RepositoryException ex)
            {
                throw new AisinoMesServiceException("添加工段信息失败!", ex);
            }
            return(borSection);
        }