public SanPham GetById(int id) { return(_sanPhamRepository.GetSingleByCondition(x => x.IdSanPham == id, new string[] { "HinhAnhSanPhams" })); }