Showing 35 of 59 total issues
Avoid too many return
statements within this method. Open
Open
return new LockMismatchResult(Response, existingLock.LockId);
Avoid too many return
statements within this method. Open
Open
return new LockMismatchResult(Response, reason: "File not locked");
Avoid too many return
statements within this method. Open
Open
return new ConflictResult();
Avoid too many return
statements within this method. Open
Open
return new LockMismatchResult(Response, reason: "Missing existing lock");
Avoid too many return
statements within this method. Open
Open
return new JsonResult( new CreateChildContainerResponse( new(jsonResult.Data.Name, Url.GetWopiUrl(WopiResourceType.Container, newIdentifier)), jsonResult.Data));
Avoid too many return
statements within this method. Open
Open
return new LockMismatchResult(Response, reason: "File not locked");
Avoid too many return
statements within this method. Open
Open
return NotFound();
Avoid too many return
statements within this method. Open
Open
return new ConflictResult();
Avoid too many return
statements within this method. Open
Open
return Ok();
Avoid too many return
statements within this method. Open
Open
return new LockMismatchResult(Response, "Could not create lock");
Avoid too many return
statements within this method. Open
Open
return StatusCode(StatusCodes.Status500InternalServerError);
Avoid too many return
statements within this method. Open
Open
return StatusCode(StatusCodes.Status500InternalServerError);
Avoid too many return
statements within this method. Open
Open
return new StatusCodeResult(StatusCodes.Status500InternalServerError);
Avoid too many return
statements within this method. Open
Open
return new LockMismatchResult(Response, "Could not create lock");
Avoid too many return
statements within this method. Open
Open
return AuthenticateResult.Fail(ex);