diff --git a/server/AyaNova/Controllers/WidgetController.cs b/server/AyaNova/Controllers/WidgetController.cs
index 40a2384e..126574b8 100644
--- a/server/AyaNova/Controllers/WidgetController.cs
+++ b/server/AyaNova/Controllers/WidgetController.cs
@@ -110,6 +110,34 @@ namespace AyaNova.Api.Controllers
// return Ok(ret);
}
+ ///
+ /// TEST list with relationships
+ ///
+ /// Required roles: Any (some roles might have restrictions on exact fields that are returned)
+ ///
+ ///
+ /// Paging, filtering and sorting options
+ /// Collection with paging data
+ [HttpGet("TestGetWidgetUserEmailList", Name = nameof(TestGetWidgetUserEmailList))]
+ public ActionResult TestGetWidgetUserEmailList([FromQuery] ListOptions pagingOptions)
+ {
+ if (serverState.IsClosed)
+ return StatusCode(503, new ApiErrorResponse(ApiErrorCode.API_CLOSED, null, serverState.Reason));
+
+ if (!ModelState.IsValid)
+ return BadRequest(new ApiErrorResponse(ModelState));
+
+ //Instantiate the business object handler
+ WidgetBiz biz = WidgetBiz.GetBiz(ct, HttpContext);
+
+ ApiPagedResponse pr = biz.TestGetWidgetUserEmailList(Url, nameof(List), pagingOptions).Result;
+ return Ok(new ApiOkWithPagingResponse(pr));
+ // string ret= biz.GetList(Url, nameof(List), pagingOptions).Result;
+ // return Ok(ret);
+ }
+
+
+
// ///
// /// Get paged list of widgets
diff --git a/server/AyaNova/Startup.cs b/server/AyaNova/Startup.cs
index 3671331e..58c11f3f 100644
--- a/server/AyaNova/Startup.cs
+++ b/server/AyaNova/Startup.cs
@@ -408,7 +408,7 @@ namespace AyaNova
// ******************** TESTING WIPE DB *****************************
//
//Set this to true to wipe the db and reinstall a trial license and re-seed the data
- var TESTING_REFRESH_DB = true;//#######################################################################################
+ var TESTING_REFRESH_DB = false;//#######################################################################################
#if (DEBUG)