Menu

Creating quick suburbs look up using ASP.NET Core web API and Angular 2 – part 1

In this tutorial I will be building a Australian suburb look up module using ASP.NET Core web API, as the first part I will create the server side. check out the part 2 for client side using Angular 2.

Below is my SuburbsController.cs

This is how SuburbViewModel.cs looks like, yeah simple as it can be

Since this a quick tutorial I will do the SuburbRepository.cs like below, let me know if there is a better way.

 

Leave a comment