public ActionResult SetPublic(int id, bool isPublic)
        {
            var computerAssembly = _computerAssemblyService.GetComputerAssembly(id);

            if (computerAssembly == null)
            {
                return(NotFound());
            }

            System.Security.Claims.ClaimsPrincipal currentUser = this.User;
            var userId = _userService.GetApplicationUserManager().GetUserId(this.User);

            if (computerAssembly.OwnerId != userId)
            {
                return(Forbid());
            }

            computerAssembly.Public = isPublic;
            var result = _computerAssemblyService.UpdateComputerAssembly(computerAssembly);

            return(Json(result));
        }