コード例 #1
0
        public void Remove(MasterRegionDTO masterRegionDTO)
        {
            MasterRegion masterRegion = _mapper.Map <MasterRegion>(masterRegionDTO);

            _unitOfWork.MasterRegions.Remove(masterRegion);
            _unitOfWork.Complete();
        }
コード例 #2
0
 public void Remove(MasterRegion masterRegion)
 {
     _context.MasterRegions.Remove(masterRegion);
 }
コード例 #3
0
 public void Add(MasterRegion masterRegion)
 {
     _context.MasterRegions.Add(masterRegion);
 }