public KhachHangDTO GetKhachHang(int KhachHangId)
 {
     return(_khachHangRepository.GetKhachHang(KhachHangId).MappingKhachHangDTO());
 }
Esempio n. 2
0
 public KhachHangDTO GetKhachHang(int?Id)
 {
     return(iMapper.Map <KhachHang, KhachHangDTO>(khachhangRepository.GetKhachHang(Id)));
 }
Esempio n. 3
0
 public IEnumerable<KhachHang> GetKhachHang()
 {
     var khachHang = _khachHangRepository.GetKhachHang();
     return khachHang;
 }