Refactor: move RecActionViewQuery and MappingProfile

Moved ReadRecActionViewQuery and MappingProfile from RecActionViews to RecActions namespace. Updated all references and using directives accordingly. This organizational change consolidates related queries and mapping profiles for improved clarity and maintainability.
This commit is contained in:
2026-01-12 11:27:51 +01:00
parent 9d5334e7dc
commit 5245cd04ff
4 changed files with 4 additions and 4 deletions

View File

@@ -3,7 +3,7 @@ using Microsoft.AspNetCore.Mvc;
using ReC.API.Extensions;
using ReC.API.Models;
using ReC.Application.RecActions.Commands;
using ReC.Application.RecActionViews.Queries;
using ReC.Application.RecActions.Queries;
using System.Text.Json;
namespace ReC.API.Controllers;

View File

@@ -1,5 +1,5 @@
using MediatR;
using ReC.Application.RecActionViews.Queries;
using ReC.Application.RecActions.Queries;
using ReC.Domain.Constants;
namespace ReC.Application.RecActions.Commands;

View File

@@ -1,7 +1,7 @@
using ReC.Application.Common.Dto;
using ReC.Application.RecActions.Commands;
namespace ReC.Application.RecActionViews;
namespace ReC.Application.RecActions;
// TODO: update to inject AddedWho from the current host/user contex
public class MappingProfile : AutoMapper.Profile

View File

@@ -6,7 +6,7 @@ using DigitalData.Core.Exceptions;
using ReC.Application.Common.Dto;
using ReC.Domain.Views;
namespace ReC.Application.RecActionViews.Queries;
namespace ReC.Application.RecActions.Queries;
public record ReadRecActionViewQuery : IRequest<IEnumerable<RecActionViewDto>>
{