示例#1
0
        public virtual void Updateoccu_infor(occu_inforDto model)
        {
            Domain.occu_infor occu_Infor = AutoMapper.Mapper.Map <Domain.occu_infor>(model);

            _occu_inforRepository.Update(occu_Infor);
        }
示例#2
0
        public virtual void Addoccu_infor(occu_inforDto model)
        {
            Domain.occu_infor occu_Infor = AutoMapper.Mapper.Map <Domain.occu_infor>(model);

            _occu_inforRepository.Insert(occu_Infor);
        }