Exemplo n.º 1
0
 public async Task Insert(SoporteProducto soporteProducto)
 {
     await _context.SoporteProducto.AddAsync(soporteProducto);
 }
Exemplo n.º 2
0
        public async Task <SoporteProducto> GetSoporteProducto(Guid id)
        {
            SoporteProducto obj = await _context.SoporteProducto.Where(x => x.Id == id).FirstOrDefaultAsync();

            return(obj);
        }