public JsonResult AddTypeChidren(int TypeChidren, int TypeParent)
        {
            bool result  = false;
            var  listdvt = data.DeviceTypeComponantTypes.Where(x => x.TypeSymbolChildren == TypeChidren && x.TypeSymbolParents == TypeParent).Where(x => x.IsDeleted == false).ToList();

            if (listdvt.Count() > 0)
            {
                result = false;
            }
            else
            {
                data.AddTypeChidren(TypeChidren, TypeParent, null);
                result = true;
            }
            return(Json(result, JsonRequestBehavior.AllowGet));
        }