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