Setup initial solution structure fo application

This commit is contained in:
2019-04-19 22:00:29 +00:00
parent cef4409a7b
commit 4e5142d5ec
9 changed files with 112 additions and 46 deletions

View File

@@ -0,0 +1,28 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using BrightGlimmer.Cqrs.Queries;
using MediatR;
using Microsoft.AspNetCore.Mvc;
namespace BrightGlimmer.Api.Controllers
{
[Route("api/[controller]")]
[ApiController]
public class CourseController : ControllerBase
{
private readonly IMediator mediator;
public CourseController(IMediator mediator)
{
this.mediator = mediator;
}
[HttpGet]
public ActionResult<string> Get()
{
return "";
}
}
}