Example #1
0
 /// <summary>
 /// 注入api
 /// </summary>
 /// <param name="mvcBuilder"></param>
 /// <returns></returns>
 public static IMvcBuilder AddNarutoId4DashbordApiMongoProvider(this IMvcBuilder mvcBuilder, Action <DashbordMongoContext> action)
 {
     mvcBuilder.Services.AddStorageServices(action);
     mvcBuilder.AddNarutoId4DashbordApi();
     return(mvcBuilder);
 }