/// <summary> /// Adds common services /// </summary /// <returns></returns> public IServiceCollection AddCommonServices() { var builder = new CommonModuleBuilder(_collection); return(builder.AddServices()); }
/// <summary> /// Adds common services /// </summary> /// <returns></returns> public static IServiceCollection AddCommon(this IServiceCollection services) { var builder = new CommonModuleBuilder(services); return(builder.AddServices()); }