Preventing Prompt Injection in ASP.NET Core AI APIs