This commit is contained in:
mmrbnjd
2024-05-06 17:13:12 +03:30
parent 9511457704
commit c3ca68e404
4 changed files with 33 additions and 17 deletions

View File

@@ -34,7 +34,7 @@
<ItemGroup>
<Reference Include="Service">
<HintPath>..\..\Dlls\Service.dll</HintPath>
<HintPath>..\..\..\LocalGit\TaxPayerTools\Service\bin\Debug\Service.dll</HintPath>
</Reference>
</ItemGroup>

View File

@@ -44,20 +44,22 @@ namespace Back.Services
//-----------------------
return await invok.Select(s=>new RCustomer()
{
// Address = s.Address,
CustomerType = s.CustomerType.GetEnumDisplayName(),
Address = s.Address,
CustomerTypeTitle = s.CustomerType.GetEnumDisplayName(),
EconomicCode = s.EconomicCode,
// Email =s.Email,
FullName = s.FullName,
Email = s.Email,
FullName = s.FullName,
ID = s.ID,
// Info = s.Info,
Phone=s.Phone,
// BranchID = s.BranchID,
// MeliCode = s.MeliCode,
// ZipCode = s.ZipCode ,
// PassportNumber=s.PassportNumber,
// CompanyID=s.CompanyID
})
Info = s.Info,
Phone =s.Phone,
BranchID = s.BranchID,
MeliCode = s.MeliCode,
ZipCode = s.ZipCode,
PassportNumber = s.PassportNumber,
CustomerType= s.CustomerType
// CompanyID=s.CompanyID
})
.Paging(itemSerch.PageIndex, itemSerch.PageSize);
}
//public async Task<Customer> GetCustomerByCustomerID(int CustomerID, int CompanyID)