Skip to content

Commit

Permalink
fix: Enable inference of [FromServices] for a action parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
MrDave1999 committed Jan 30, 2024
1 parent 0d7a306 commit 9568d59
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
namespace DentallApp.Features.Reports.UseCases.GetMostRequestedServices;

[AuthorizeByRole(RoleName.Admin, RoleName.Superadmin)]
[ApiController]
public class ReportMostRequestedServicesController : ControllerBase
{
/// <summary>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
namespace DentallApp.Features.Reports.UseCases.GetTotalAppointments;

[AuthorizeByRole(RoleName.Admin, RoleName.Superadmin)]
[ApiController]
public class ReportTotalAppointmentsController : ControllerBase
{
/// <summary>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
namespace DentallApp.Features.Reports.UseCases.GetTotalScheduledAppointments;

[AuthorizeByRole(RoleName.Admin, RoleName.Superadmin)]
[ApiController]
public class ReportTotalScheduledAppointmentsController : ControllerBase
{
/// <summary>
Expand Down

0 comments on commit 9568d59

Please sign in to comment.