Guest User

Untitled

a guest
Aug 15th, 2018
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.69 KB | None | 0 0
  1. public int Id { get; set; }
  2. public Empresa EmpresaProduto { get; set; }
  3. public int EmpresaID { get; set; }
  4.  
  5. var produtoempresa = await db.ProdutosEmpresas.Where(p => p.ProdutoID == id).ToListAsync();
  6.  
  7. <table class="table table-responsive table-hover">
  8. <tbody>
  9. @foreach (var item in Model.ProdutosEmpresas)
  10. {
  11. <tr>
  12. <td>@item.EmpresaProduto.RazaoSocial</td>
  13. <td>@item.QtdAtual</td>
  14. </tr>
  15. }
  16. </tbody>
  17. </table>
Add Comment
Please, Sign In to add comment