Module Creator external template changes for 2.1 - supporting mutliple databases, EF Core migrations, and other multi-tenancy improvements

This commit is contained in:
Shaun Walker
2021-05-28 17:01:25 -04:00
parent 8529a42075
commit 54a639d1d5
12 changed files with 109 additions and 73 deletions

View File

@ -18,7 +18,7 @@ namespace [Owner].[Module].Services
_siteState = siteState;
}
private string Apiurl => CreateApiUrl(_siteState.Alias, "[Module]");
private string Apiurl => CreateApiUrl("[Module]", _siteState.Alias);
public async Task<List<Models.[Module]>> Get[Module]sAsync(int ModuleId)
{