Merge branch 'master' into dev/multiple-notes

This commit is contained in:
Ryan Peters
2023-07-10 13:24:31 -04:00
7 changed files with 39 additions and 28 deletions

View File

@ -0,0 +1,17 @@
using Microsoft.AspNetCore.Mvc;
using BinaryDad.Notes.Services;
namespace BinaryDad.Notes.Controllers
{
public class ApiController : ControllerBase
{
private readonly INoteService noteService;
public ApiController(INoteService noteService)
{
this.noteService = noteService;
}
public string Note() => noteService.Get();
}
}