public JsonResult List(string storagefilter)
        {
            StoragesListModel result = new StoragesListModel();

            try
            {
                if (string.IsNullOrEmpty(storagefilter))
                {
                    result.StorageInfos.AddRange(_storageService.GetListStorage());
                }
                else
                {
                    result.StorageInfos.AddRange(_storageService.GetStorageInfoByID(storagefilter));
                }
            }
            catch (BusinessException exception)
            {
                _logger.DebugFormat("BusinessException: {0}-{1}", exception.ErrorCode, exception.Message);
                result.ErrorCode        = exception.ErrorCode;
                result.ErrorDescription = CommonUtils.GetErrorMessage(exception);
            }
            catch (Exception exception)
            {
                _logger.Error(string.Format("Iternal error {0}", exception));
                result.ErrorCode        = ErrorCode.InternalErrorException;
                result.ErrorDescription = CommonUtils.GetEnumDescription(ErrorCode.InternalErrorException);
            }

            return(Json(result));
        }
        public ActionResult GetStorageInfo(string storageid)
        {
            StoragesListModel result = new StoragesListModel();

            try
            {
                result.StorageInfos.AddRange(_storageService.GetStorageInfoByID(storageid));
            }
            catch (BusinessException exception)
            {
                _logger.DebugFormat("BusinessException: {0}-{1}", exception.ErrorCode, exception.Message);
                result.ErrorCode        = exception.ErrorCode;
                result.ErrorDescription = CommonUtils.GetErrorMessage(exception);
            }
            catch (Exception exception)
            {
                _logger.Error(string.Format("Iternal error {0}", exception));
                result.ErrorCode        = ErrorCode.InternalErrorException;
                result.ErrorDescription = CommonUtils.GetEnumDescription(ErrorCode.InternalErrorException);
            }
            return(Json(result, JsonRequestBehavior.AllowGet));
        }