public void Update(int id, Movement movement) { var record = GetById(id); movement.Adapt(record); _context.SaveChanges(); }