Created entities and converted web app to c#