public JsonResult GetDetails()
        {
            var list = _commonServices.GetAllUnits().ToList();

            var response = new
            {
                data = list
            };

            return(Json(response, JsonRequestBehavior.AllowGet));
        }