packagename fix

This commit is contained in:
2021-12-06 13:39:21 +01:00
parent ebc5018b22
commit 6cbffa2b1a
2 changed files with 6 additions and 3 deletions

View File

@ -6,9 +6,12 @@ using System.Runtime.Serialization;
using System.Threading.Tasks;
using Microsoft.Extensions.Configuration;
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 {
Task<List<TOUT>> ReadBySelect<TIN, TOUT>(string selectStatement, bool justOne, TIN input);
}

View File

@ -3,7 +3,7 @@ using Microsoft.AspNetCore.Mvc;
using System.IO;
using System.Threading.Tasks;
namespace de.hottis.genericdatabaseapiservice.Controllers {
namespace ${env['packagename']}.Controllers {
[Route("/${env['routeprefix']}/openapi/JSON")]
public class OpenAPIDocCtrl : ControllerBase {
private IWebHostEnvironment _hostingEnvironment;