예제 #1
0
 public void DeleteCUL(CUL cul)
 {
     cULsRepository.Delete(cul.AutoMapObject <CUL, DB.CUL>());
 }
예제 #2
0
        public int InsertCUL(CUL cul)
        {
            var res = cULsRepository.Insert(cul.AutoMapObject <CUL, DB.CUL>());

            return(res.CULId);
        }
예제 #3
0
        public void UpdateCUL(CUL cul)
        {
            var original = cULsRepository.GetById(c => c.CULId == cul.CULId);

            cULsRepository.Update(original, cul.AutoMapObject <CUL, DB.CUL>());
        }