Id points to always null - C#