Rename GetProfile method to Get in ProfileController

Renamed the GetProfile method to Get in the ProfileController to standardize method naming. No changes were made to the method's functionality or parameters.
This commit is contained in:
2026-01-16 10:48:42 +01:00
parent 6a24719342
commit f14f6c1f15

View File

@@ -13,7 +13,7 @@ namespace ReC.API.Controllers;
public class ProfileController(IMediator mediator) : ControllerBase public class ProfileController(IMediator mediator) : ControllerBase
{ {
[HttpGet] [HttpGet]
public async Task<IActionResult> GetProfile([FromQuery] ReadProfileViewQuery query, CancellationToken cancel) public async Task<IActionResult> Get([FromQuery] ReadProfileViewQuery query, CancellationToken cancel)
{ {
return Ok(await mediator.Send(query, cancel)); return Ok(await mediator.Send(query, cancel));
} }