Restructure TAble

This commit is contained in:
Suphonchai Phoonsawat 2023-06-25 18:36:02 +07:00
parent 717b0f0a8e
commit 1ba2f2eec1
37 changed files with 1107 additions and 527 deletions

View file

@ -1,10 +1,10 @@
using BMA.EHR.Application.Repositories;
using BMA.EHR.Application.Repositories.Prefix;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
namespace BMA.EHR.MetaData.Service.Controllers
{
[Route("api/prefix")]
[Route("api/prefix")]
[ApiController]
public class PrefixController : ControllerBase
{
@ -19,6 +19,7 @@ namespace BMA.EHR.MetaData.Service.Controllers
public async Task<IActionResult> GetAllAsync()
{
var data = await _prefixRepository.GetAllAsync();
Console.WriteLine("Logic 1 Start");
return Ok(data);
}