public Result <bool> UpdateStatusUpdate(UpdateStatusUpdateOptions options)
        {
            if (options == null)
            {
                return(Result <bool> .CreateFailed(StatusCode.BadRequest, "Null options"));
            }

            var statusUpdate = GetStatusUpdateById(options.StatusUpdateId).Data;

            if (statusUpdate == null)
            {
                return(Result <bool> .CreateFailed(StatusCode.BadRequest, $"Status update with ID {options.StatusUpdateId} was not found"));
            }

            if (statusUpdate.IsValidTitle(options.Title))
            {
                statusUpdate.Title = options.Title;
            }

            if (statusUpdate.IsValidDescription(options.Description))
            {
                statusUpdate.Description = options.Description;
            }

            if (context_.SaveChanges() == 0)
            {
                return(Result <bool> .CreateFailed(StatusCode.InternalServerError, "Status update could not be updated"));
            }

            return(Result <bool> .CreateSuccessful(true));
        }
        public IActionResult UpdateStatusUpdate([FromBody] UpdateStatusUpdateOptions options)//landingpage
        {
            var result = statusUpdateService_.UpdateStatusUpdate(options);

            if (result.Success)
            {
                return(Json(result.Data));
            }
            return(StatusCode((int)result.ErrorCode, result.ErrorText));
        }