Hi,
I noticed in the TenantAppService there is an injection for _tenantManager in the constructor although in the base class there is a property called TenantManager, any difference between the two?
Also why CrudAppService/AsyncCrudAppService is not used in the project and all the CRUD are re implemented, any specific reason behind this design? Can TenantAppService inherit AsyncCrudAppService and implement only the missing methods, while providing the appropriate values for the CRUD permission names ?
Thanks
2 Answer(s)
-
0
Hi,
The TenantManager was unnecessary, thank you for pointing out that, I have created an issue for this and we will remove it. <a class="postlink" href="https://github.com/aspnetzero/aspnet-zero/issues/484">https://github.com/aspnetzero/aspnet-zero/issues/484</a>.
The CrudAppService was introduced after we had a mature code base for AspNet Zero and we didn't think to include it into AspNet Zero but we will consider to include it into AspNet Zero.
Thanks.
-
0
Thanks.