public static Business.CreateOrUpdateBlobResult TranslateFromServiceToBusiness(DataContracts.CreateOrUpdateBlobResult serviceItem)
        {
            if (serviceItem == null)
            {
                return(null);
            }

            Business.CreateOrUpdateBlobResult businessItem = new Business.CreateOrUpdateBlobResult();

            return(businessItem);
        }
        public CreateOrUpdateBlobResponse CreateOrUpdateBlob(CreateOrUpdateBlobRequest request)
        {
            lock (createOrUpdateBlobActionLock)
            {
                if (createOrUpdateBlobAction == null)
                {
                    createOrUpdateBlobAction = PolicyInjection.Create <BusinessActions.CreateOrUpdateBlobAction>();
                }
            }

            request.CreateOrUpdateBlobParameters.ContainerName = GetUserContainerName(request.CreateOrUpdateBlobParameters.ContainerName);

            BusinessEntities.CreateOrUpdateBlobParameters parameters = CreateOrUpdateBlobParametersTranslator.TranslateFromServiceToBusiness(request.CreateOrUpdateBlobParameters);
            BusinessEntities.CreateOrUpdateBlobResult     result     = createOrUpdateBlobAction.Execute(parameters);

            CreateOrUpdateBlobResponse response = new CreateOrUpdateBlobResponse();

            response.CreateOrUpdateBlobResult = CreateOrUpdateBlobResultTranslator.TranslateFromBusinessToService(result);

            return(response);
        }
        public static DataContracts.CreateOrUpdateBlobResult TranslateFromBusinessToService(Business.CreateOrUpdateBlobResult businessItem)
        {
            if (businessItem == null)
            {
                return(null);
            }

            DataContracts.CreateOrUpdateBlobResult serviceItem = new DataContracts.CreateOrUpdateBlobResult();

            return(serviceItem);
        }