mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-03 17:11:10 +00:00
Adds URL solving service based on action and controller names
This commit is contained in:
1 parent
bd97c2e8c1
commit
abc2777357
2 files changed
+50
No files matched your search
@@ -0,0 +1,12 @@
|
||||
namespace Lumina.Presentation.Web.Common.Services;
|
||||
|
||||
public interface IUrlService
|
||||
{
|
||||
/// <summary>
|
||||
/// Generates an absolute URL for the specified controller action.
|
||||
/// </summary>
|
||||
/// <param name="action">The action name within the controller.</param>
|
||||
/// <param name="controller">The controller name.</param>
|
||||
/// <returns>An absolute URL to the specified action.</returns>
|
||||
string? GetAbsoluteUrl(string action, string controller);
|
||||
}
|
||||
Reference in new issue
Block a user