Promact/slack-erp-custom-integration-mvc

View on GitHub
Slack.Automation/Promact.Erp.Web/App_Start/AutofacConfig.cs

Summary

Maintainability
A
2 hrs
Test Coverage

Method RegisterDependancies has 52 lines of code (exceeds 25 allowed). Consider refactoring.
Open

        public static IComponentContext RegisterDependancies()
        {
            var builder = new ContainerBuilder();
            // register dependency
            builder.RegisterType<PromactErpContext>().As<DbContext>();
Severity: Major
Found in Slack.Automation/Promact.Erp.Web/App_Start/AutofacConfig.cs - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status