Sample: TestMVC Controllers TestController - etmendz/Mendz.Data.SqlServer GitHub Wiki
- In TestMVC's Controllers folder, add a class file named TestController.cs and enter the following:
using TestRepositories;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Filters;
using TestModels;
namespace TestMVC.Controllers
{
// insert TestController code here...
}
- Insert the TestController code.