Add CompanyTableId to ProductTableGet
This commit is contained in:
parent
126e2a8c73
commit
69573991ca
2 changed files with 3 additions and 1 deletions
|
@ -4,4 +4,5 @@ public class ProductTableGet
|
|||
{
|
||||
public string ProductTableName { get; set; }
|
||||
public string ProductTableId { get; set; }
|
||||
public string CompanyTableId { get; set; }
|
||||
}
|
|
@ -20,7 +20,8 @@ public class ProductTableService(ApplicationDbContext context)
|
|||
return new ProductTableGet
|
||||
{
|
||||
ProductTableName = productTable.ProductTableName,
|
||||
ProductTableId = productTable.Id.ToString()
|
||||
ProductTableId = productTable.Id.ToString(),
|
||||
CompanyTableId = productTable.CompanyTableId.ToString(),
|
||||
};
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue