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,19 +1,19 @@
using BMA.EHR.Application;
using BMA.EHR.Infrastructure;
using Microsoft.AspNetCore.Mvc.Versioning;
using Microsoft.AspNetCore.Mvc;
using Microsoft.IdentityModel.Logging;
using Microsoft.AspNetCore.Authentication.JwtBearer;
using Microsoft.IdentityModel.Tokens;
using System.Text;
using Serilog.Sinks.Elasticsearch;
using Serilog;
using System.Reflection;
using Serilog.Exceptions;
using BMA.EHR.MetaData.Service;
using Microsoft.AspNetCore.Mvc.ApiExplorer;
using BMA.EHR.Infrastructure.Persistence;
using BMA.EHR.MetaData.Service;
using Microsoft.AspNetCore.Authentication.JwtBearer;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.ApiExplorer;
using Microsoft.AspNetCore.Mvc.Versioning;
using Microsoft.EntityFrameworkCore;
using Microsoft.IdentityModel.Logging;
using Microsoft.IdentityModel.Tokens;
using Serilog;
using Serilog.Exceptions;
using Serilog.Sinks.Elasticsearch;
using System.Reflection;
using System.Text;
var builder = WebApplication.CreateBuilder(args);
{
@ -79,6 +79,8 @@ var builder = WebApplication.CreateBuilder(args);
builder.Services.AddApplication();
builder.Services.AddPersistence(builder.Configuration);
builder.Services.AddEmailSender(builder.Configuration);
builder.Services.AddControllers(options =>
{
options.SuppressAsyncSuffixInActionNames = false;