public static IFileBlobManager Create(FileBlobCreationInfoModel creation)
        {
            FileBlobManager manager = new FileBlobManager();
            manager.CreationInfo = creation;
            manager.ActiveModel.DriverID = creation.DriverID;

            return manager;
        }
        public static IFileBlobManager Create(FileBlobCreationInfoModel creation)
        {
            FileBlobManager manager = new FileBlobManager();

            manager.CreationInfo         = creation;
            manager.ActiveModel.DriverID = creation.DriverID;

            return(manager);
        }
        public static IFileBlobManager CreateEdit(uint blobID)
        {
            using (var db = DB.GetContext())
            {
                FileBlobManager manager = new FileBlobManager();
                manager.ActiveModel           = FileBlobRepository.GetBlob(db, blobID);
                manager.CreationInfo.DriverID = manager.ActiveModel.DriverID;

                return(manager);
            }
        }
        public static IFileBlobManager CreateEdit(uint blobID)
        {
            using (var db = DB.GetContext())
            {
                FileBlobManager manager = new FileBlobManager();
                manager.ActiveModel = FileBlobRepository.GetBlob(db, blobID);
                manager.CreationInfo.DriverID = manager.ActiveModel.DriverID;

                return manager;
            }
        }