public async Task <JsonResult> GetByIdWithIncludesAsync([Required][FromBody] RequestData data) { if (data == null) { return(RequestData.InvalidRequest); } Guid.TryParse(data.Object, out var itemId); var rq = await _dynamicService.GetByIdWithInclude(data.EntityName, itemId); return(Json(rq, SerializerSettings)); }