public JsonResult DeleteProject1(int Id)
        {
            bool result = false;
            var  dv     = Ql.DeviceOfProjects.Where(x => x.ProjectId == Id && x.Status == 1);

            if (dv.Count() == 0)
            {
                result = true;
                Ql.DeleteProject(Id);
            }
            else
            {
                result = false;
            }

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