Merge branch 'Feature/InstitutionContract/add-registration-style' into Main

This commit is contained in:
2025-09-29 10:31:29 +03:30

View File

@@ -1,5 +1,6 @@
using _0_Framework.Application;
using CompanyManagment.App.Contracts.Law;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using ServiceHost.BaseControllers;
@@ -30,6 +31,7 @@ public class LawController : AdminBaseController
/// <param name="type">نوع قانون</param>
/// <returns></returns>
[HttpGet("by-type/{type}")]
[AllowAnonymous]
public async Task<ActionResult<LawViewModel>> GetLawByType(LawType type)
{
return await _lawApplication.GetLawByType(type);