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

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

            return(businessItem);
        }
        public CreateOrUpdateContainerResponse CreateOrUpdateContainer(CreateOrUpdateContainerRequest request)
        {
            lock (createOrUpdateContainerActionLock)
            {
                if (createOrUpdateContainerAction == null)
                {
                    createOrUpdateContainerAction = PolicyInjection.Create <BusinessActions.CreateOrUpdateContainerAction>();
                }
            }

            request.CreateOrUpdateContainerParameters.Container.Name = GetUserContainerName(request.CreateOrUpdateContainerParameters.Container.Name);

            BusinessEntities.CreateOrUpdateContainerParameters parameters = CreateOrUpdateContainerParametersTranslator.TranslateFromServiceToBusiness(request.CreateOrUpdateContainerParameters);
            BusinessEntities.CreateOrUpdateContainerResult     result     = createOrUpdateContainerAction.Execute(parameters);

            CreateOrUpdateContainerResponse response = new CreateOrUpdateContainerResponse();

            response.CreateOrUpdateContainerResult = CreateOrUpdateContainerResultTranslator.TranslateFromBusinessToService(result);

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

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

            return(serviceItem);
        }