public static Composition AsEntity(this CompositionDocument doc) => new Composition(doc.Id, doc.CompositionName);
public static string AsJson(this CompositionDocument doc) => JsonConvert.SerializeObject(doc);
public static Composition AsEntity(this CompositionDocument doc) => new Composition(doc.Id, doc.CompositionName);
public static string AsJson(this CompositionDocument doc) => JsonConvert.SerializeObject(doc);