using Bit.Core.Models.Domain; using System.Collections.Generic; using System.Linq; namespace Bit.Core.Models.Request { public class CipherCreateRequest { public CipherCreateRequest(Cipher cipher) { Cipher = new CipherRequest(cipher); CollectionIds = cipher.CollectionIds?.ToList(); } public CipherRequest Cipher { get; set; } public List CollectionIds { get; set; } } }