예제 #1
0
        public void Create(NguoiDungViewModel nguoiDung)
        {
            var nguoi = iMapper.Map <NguoiDungViewModel, NguoiDung>(nguoiDung);

            iNguoiDungRepository.Add(nguoi);
        }
예제 #2
0
 public NguoiDung Add(NguoiDung nguoiDung)
 {
     return(_nguoiDungRepository.Add(nguoiDung));
 }