Exemple #1
0
        public JsonResult DeleteDoor(string doorId)
        {
            var door = _doorManager.Get(new Door {
                Id = doorId
            });

            _doorManager.Delete(door);

            return(Json(door));
        }