packagename fix
This commit is contained in:
@ -6,9 +6,12 @@ using System.Runtime.Serialization;
|
|||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using Microsoft.Extensions.Configuration;
|
using Microsoft.Extensions.Configuration;
|
||||||
using MySqlConnector;
|
using MySqlConnector;
|
||||||
using de.hottis.genericdatabaseapiservice.Models;
|
|
||||||
|
|
||||||
namespace de.hottis.genericdatabaseapiservice.Services {
|
// make sure to adjust the prefix with the PACKAGE_NAME from ENV
|
||||||
|
using com.krohne.genericdatabaseapiservice.Models;
|
||||||
|
|
||||||
|
// make sure to adjust the prefix with the PACKAGE_NAME from ENV
|
||||||
|
namespace com.krohne.genericdatabaseapiservice.Services {
|
||||||
public interface IDbService {
|
public interface IDbService {
|
||||||
Task<List<TOUT>> ReadBySelect<TIN, TOUT>(string selectStatement, bool justOne, TIN input);
|
Task<List<TOUT>> ReadBySelect<TIN, TOUT>(string selectStatement, bool justOne, TIN input);
|
||||||
}
|
}
|
||||||
|
@ -3,7 +3,7 @@ using Microsoft.AspNetCore.Mvc;
|
|||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
namespace de.hottis.genericdatabaseapiservice.Controllers {
|
namespace ${env['packagename']}.Controllers {
|
||||||
[Route("/${env['routeprefix']}/openapi/JSON")]
|
[Route("/${env['routeprefix']}/openapi/JSON")]
|
||||||
public class OpenAPIDocCtrl : ControllerBase {
|
public class OpenAPIDocCtrl : ControllerBase {
|
||||||
private IWebHostEnvironment _hostingEnvironment;
|
private IWebHostEnvironment _hostingEnvironment;
|
||||||
|
Reference in New Issue
Block a user