3
I’m getting the following error.
It is not possible to implicitly convert "System.Linch.Iqueryable" to "Testemercos.Models.Applicationproduct". There is an explicit conversion ?
in that part of the code:
public ApplicationProduct GetProductsIdAsync(long products)
{
try
{
var result = _context.Produtos.Where(x => x.Id == products);
return result;
}
catch (Exception)
{
throw;
}
}
Just do me a favor, take that one off
try-ctach
, he’s only harming his code and doing nothing useful.– Maniero