Base solution for your next web application
Ends in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

AppServiceBase #3194


User avatar
0
imad created

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)
  • User Avatar
    0
    ismcagdas created
    Support Team

    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.

  • User Avatar
    0
    imad created

    Thanks.