public async Task <IActionResult> GetBasics([FromQuery] QueryParameters parameters)
        {
            try
            {
                var models = await repository.GetModelList(parameters);

                if (models.Count > 0)
                {
                    return(Ok(new ConsumptionResponse()
                    {
                        success = true,
                        dynamicObj = models,
                        TotalRecord = models.TotalCount
                    }));
                }
                return(Ok());
            }
            catch (Exception ex)
            {
                logger.LogError(ex, "");
                return(Ok(new ConsumptionResponse()
                {
                    success = false,
                    message = "Can't get data"
                }));
            }
        }