hrms-api-backend/BMA.EHR.API.Command/CommandAPIRegistration.cs

20 lines
544 B
C#

using Microsoft.Extensions.DependencyInjection;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
namespace BMA.EHR.API.Command
{
public static class CommandAPIRegistration
{
public static IMvcBuilder RegisterCommandControllers(this IMvcBuilder builder)
{
Assembly assembly = typeof(CommandAPIRegistration).Assembly;
builder.AddApplicationPart(assembly);
return builder;
}
}
}