I am using a MacBook. How can I add default api controller in C# in VS Code?
I have downloaded the C# Dev Kit in VS Code, but if I add a new api controller, it will be an empty api controller. How can I have the default settings like this:
using Microsoft.AspNetCore.Mvc;
using System.Collections.Generic;
[ApiController]
[Route("api/[controller]")]
You need to sign in to view this answers