I was learning MVC WebAPI and I was following a tutorial and everything was going fine untill I saw the following:
namespace HelloWebAPI.Controllers
{
using System;
public class ProductsController : ApiController
{
}
}
What we usually do is that we add the resources\scope in the beginning like this:
using System;
namespace HelloWebAPI.Controllers
{
public class ProductsController : ApiController
{
}
}
I want to have a better understanding about it
Thanks.