Пример #1
0
 public async Task PutPartial(string id, [FromBody] CipherPartialRequestModel model)
 {
     var userId   = _userService.GetProperUserId(User).Value;
     var folderId = string.IsNullOrWhiteSpace(model.FolderId) ? null : (Guid?)new Guid(model.FolderId);
     await _cipherService.UpdatePartialAsync(new Guid(id), userId, folderId, model.Favorite);
 }