 import Foundation
-import CoreData
 
 extension MSession
 {

        manager:DManager,
        completion:@escaping((DSession) -> ()))
    {
        manager.fetch(entity:DSession.self)
        { [weak self] (data:[NSManagedObject]) in
            
            guard
                
                let session:DSession = data.first as? DSession
                
            else
            {

        manager:DManager,
        completion:@escaping((DSession) -> ()))
    {
        manager.create
        { (session:DSession) in
            
            manager.save
            {
