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