added CreateApiUrl method back for backward compatibility

This commit is contained in:
Shaun Walker 2020-05-05 09:47:23 -04:00
parent a02cfea6c9
commit e09fcd7e42

View File

@ -169,5 +169,11 @@ namespace Oqtane.Services
// can be used to override the default alias // can be used to override the default alias
public Alias Alias { get; set; } public Alias Alias { get; set; }
[Obsolete("This method is obsolete. Use CreateApiUrl(Alias alias, string serviceName) instead.", false)]
public string CreateApiUrl(Alias alias, string absoluteUri, string serviceName)
{
// only retained for short term backward compatibility
return CreateApiUrl(alias, serviceName);
}
} }
} }