some OP
This commit is contained in:
@@ -26,7 +26,10 @@ namespace FwSearchApi.Controllers
|
||||
public async Task<JsonResult> GetAllLookups()
|
||||
{
|
||||
var result = await _lookupLogic.GetAllLookups();
|
||||
_logger.LogInformation($"Lookups zur Verfügung gestellt von {nameof(GetAllLookups)}");
|
||||
if (result.GeneralResult != Datamodels.BusinessModels.GeneralResults.Success) {
|
||||
throw new System.Exception("das war wohl nix");
|
||||
}
|
||||
_logger.LogInformation($"Lookups zur Verf�gung gestellt von {nameof(GetAllLookups)}");
|
||||
return new JsonResult(result);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user