Slack.Automation/Promact.Erp.Web/App_Start/AutofacConfig.cs
Method RegisterDependancies
has 52 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public static IComponentContext RegisterDependancies()
{
var builder = new ContainerBuilder();
// register dependency
builder.RegisterType<PromactErpContext>().As<DbContext>();