public GenericRepositorio(MySqlServerContext context) { _context = context; dataSet = context.Set <T>(); }
public async Task <T> GetAsync(int id) { return(await sqlServerContext.Set <T>().FindAsync(id)); }