public ResponseModel Search([FromBody] Dictionary <string, object> formData)
        {
            var response = new ResponseModel();

            try
            {
                var    page          = int.Parse(formData["page"].ToString());
                var    pageSize      = int.Parse(formData["pageSize"].ToString());
                string item_group_id = "";
                if (formData.Keys.Contains("item_group_id") && !string.IsNullOrEmpty(Convert.ToString(formData["item_group_id"])))
                {
                    item_group_id = Convert.ToString(formData["item_group_id"]);
                }
                long total = 0;
                var  data  = _itemBusiness.Search(page, pageSize, out total, item_group_id);
                response.TotalItems = total;
                response.Data       = data;
                response.Page       = page;
                response.PageSize   = pageSize;
            }
            catch (Exception ex)
            {
                throw new Exception(ex.Message);
            }
            return(response);
        }