Add CompanyTableId to ProductTableGet

This commit is contained in:
martinshoob 2025-08-11 21:22:37 +02:00
parent 126e2a8c73
commit 69573991ca
2 changed files with 3 additions and 1 deletions

View file

@ -4,4 +4,5 @@ public class ProductTableGet
{
public string ProductTableName { get; set; }
public string ProductTableId { get; set; }
public string CompanyTableId { get; set; }
}

View file

@ -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(),
};
}
}