- Completato modifiche x selezione ricetta
- Controller x download ricetta
This commit is contained in:
Samuele Locatelli
2023-04-04 16:17:39 +02:00
parent 1c1710f285
commit cd90e6871f
9 changed files with 110 additions and 59 deletions
+4 -2
View File
@@ -1,4 +1,5 @@
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Configuration;
using MP.Data.MgModels;
@@ -11,6 +12,7 @@ namespace MP.SPEC.Controllers
{
[Route("api/[controller]")]
[ApiController]
[AllowAnonymous]
public class RecipeController : ControllerBase
{
/// <summary>
@@ -20,7 +22,7 @@ namespace MP.SPEC.Controllers
public RecipeController(IConfiguration configuration, MpDataService DataService)
{
Log.Info("Starting MpDataService INIT");
Log.Info("Starting RecipeController");
_configuration = configuration;
DService = DataService;
Log.Info("Avviata classe Recipe");