Exemple #1
0
        public ServiceResponse OrderForm(long projectId, long quoteId)
        {
            var serviceResponse = new ServiceResponse();

            serviceResponse = _quoteServices.CheckProductWithNoClassCode(this.CurrentUser, quoteId);
            if (serviceResponse.IsOK)
            {
                serviceResponse = GetNewOrder(quoteId);
                var model = serviceResponse.Model as OrderViewModelLight;
                _orderServiceLight.InsertProjectInfoToMapics(model);  //Web api call to Mapics to insert/update Projects info
            }

            return(serviceResponse);
        }