api holiday
This commit is contained in:
parent
692acf831a
commit
b1b8d96e57
14 changed files with 1217 additions and 65 deletions
|
|
@ -3,6 +3,7 @@ using BMA.EHR.Domain.Middlewares;
|
|||
using BMA.EHR.Infrastructure;
|
||||
using BMA.EHR.Infrastructure.Persistence;
|
||||
using BMA.EHR.MetaData.Service;
|
||||
using BMA.EHR.MetaData.Service.Services;
|
||||
using Microsoft.AspNetCore.Authentication.JwtBearer;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using Microsoft.AspNetCore.Mvc.ApiExplorer;
|
||||
|
|
@ -80,6 +81,7 @@ var builder = WebApplication.CreateBuilder(args);
|
|||
builder.Services.AddApplication();
|
||||
builder.Services.AddPersistence(builder.Configuration);
|
||||
|
||||
builder.Services.AddTransient<HolidayService>();
|
||||
builder.Services.AddControllers(options =>
|
||||
{
|
||||
options.SuppressAsyncSuffixInActionNames = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue