public IEnumerable<StorageView> GetStorages(string loginName)
 {
     var storages = new StorageAppl(_adapter, _storageRepo).GetByLoginName(loginName);
     return _adapter.Adapt<StorageView>(storages);
 }
        public IEnumerable <StorageView> GetStorages(string loginName)
        {
            var storages = new StorageAppl(_adapter, _storageRepo).GetByLoginName(loginName);

            return(_adapter.Adapt <StorageView>(storages));
        }