public static CreatePhysicalInventory ToCreatePhysicalInventory(this PhysicalInventoryState state) { return(state.ToCreatePhysicalInventory <CreatePhysicalInventory, CreatePhysicalInventoryLine>()); }