Importing MVC model class in ASP.NET core MVC with angular 2

Dec 31 2016 10:58 AM
Hi,

Is it possible to import a model class(let's say product.cs) which is created in "Models" folder into the angular 2 application instead of creating the same fields under product.ts file and using it in the Asp.NET Core Angular 2 application?

Is there any solution for reusing the code instead of creating 2 classes with same fields?

Answers (2)