This commit is contained in:
2020-06-17 18:58:37 +00:00
parent fb586e0f5b
commit 305b61045d
6 changed files with 140 additions and 111 deletions

View File

@@ -1,10 +1,7 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Authorization;
using Microsoft.EntityFrameworkCore;
using rockfishCore.Models;
using rockfishCore.Util;
@@ -12,6 +9,7 @@ using System.ComponentModel.DataAnnotations;
namespace rockfishCore.Controllers
{
//### CUSTOMER ROUTES NO AUTH
[Produces("text/plain")]
[Route("rvr")]
public class RvrController : Controller //RAVEN trial license request
@@ -44,6 +42,7 @@ namespace rockfishCore.Controllers
public const string SUPPORT_EMAIL="support@ayanova.com";
#endif
//### CUSTOMER ROUTE CALLED FROM RAVEN ####
[HttpPost]
public async Task<IActionResult> Post([FromBody] dtoRequest r)
{
@@ -98,6 +97,7 @@ namespace rockfishCore.Controllers
}
//### CUSTOMER ROUTE CALLED FROM CUSTOMER BROWSER / EMAIL ####
[HttpGet("verify/{code}")]
public async Task<IActionResult> GetVerify([FromRoute] string code)
{
@@ -131,6 +131,5 @@ namespace rockfishCore.Controllers
};
}
}//eoc
}//eons