Beispiel #1
0
        public JsonResult UpdateConnectionName(int ID, string name)
        {
            var response = screenShareManager.UpdateConnectionName(ID, name);

            if (response.IsSuccess)
            {
                return(Json(new { IsSuccess = true }));
            }

            else
            {
                return(Json(new { IsSuccess = false, Error = response.Explanation }));
            }
        }