public void Create(NguoiDungViewModel nguoiDung) { var nguoi = iMapper.Map <NguoiDungViewModel, NguoiDung>(nguoiDung); iNguoiDungRepository.Add(nguoi); }
public NguoiDung Add(NguoiDung nguoiDung) { return(_nguoiDungRepository.Add(nguoiDung)); }