This commit is contained in:
@@ -104,10 +104,10 @@ namespace AyaNova.Api.Controllers
|
||||
//Instantiate the business object handler
|
||||
WidgetBiz biz = WidgetBiz.GetBiz(ct, HttpContext);
|
||||
|
||||
// ApiPagedResponse<NameIdItem> pr = biz.GetList(Url, nameof(WidgetList), pagingOptions);
|
||||
// return Ok(new ApiOkWithPagingResponse<NameIdItem>(pr));
|
||||
string ret= biz.GetList(Url, nameof(List), pagingOptions).Result;
|
||||
return Ok(ret);
|
||||
ApiPagedResponse pr = biz.GetList(Url, nameof(List), pagingOptions).Result;
|
||||
return Ok(new ApiOkWithPagingResponse(pr));
|
||||
// string ret= biz.GetList(Url, nameof(List), pagingOptions).Result;
|
||||
// return Ok(ret);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user