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?
Importing MVC model class in ASP.NET core MVC with angular 2
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.


Fabio Silva LimaRank #750 · 3.1K reputationPosted Dec 31, 2016, 6:51 AM EST
Sravan Kumar Reddy DudyaluRank #1,248 · 1.4K reputationPosted Dec 31, 2016, 11:07 PM EST