public WebDTOList EditWeb(WebDTOList webdto)
 {
     try
     {
         return(webServiceImpl.EditWeb(webdto));
     }
     catch (Exception ex)
     {
         throw new FaultException <FaultData>(FaultData.CreateFromException(ex), FaultData.CreateFaultReason(ex));
     }
 }
Exemple #2
0
 public void AddProductToCart(Guid customerId, Guid productId, int quantity)
 {
     try
     {
         _orderServiceImp.AddProductToCart(customerId, productId, quantity);
     }
     catch (Exception ex)
     {
         throw new FaultException <FaultData>(FaultData.CreateFromException(ex), FaultData.CreateFaultReason(ex));
     }
 }
Exemple #3
0
 public int GetShoppingCartItemCount(Guid userId)
 {
     try
     {
         return(_orderServiceImp.GetShoppingCartItemCount(userId));
     }
     catch (Exception ex)
     {
         throw new FaultException <FaultData>(FaultData.CreateFromException(ex), FaultData.CreateFaultReason(ex));
     }
 }
Exemple #4
0
 public CategorizationDataObject CategorizeProduct(Guid productID, Guid categoryID)
 {
     try
     {
         return(productServiceImpl.CategorizeProduct(productID, categoryID));
     }
     catch (Exception ex)
     {
         throw new FaultException <FaultData>(FaultData.CreateFromException(ex), FaultData.CreateFaultReason(ex));
     }
 }
Exemple #5
0
 public IList <OrderDto> GetAllOrders()
 {
     try
     {
         return(_orderServiceImp.GetAllOrders());
     }
     catch (Exception ex)
     {
         throw new FaultException <FaultData>(FaultData.CreateFromException(ex), FaultData.CreateFaultReason(ex));
     }
 }
Exemple #6
0
 public ProductDataObjectList GetFeaturedProducts(Int32 count)
 {
     try
     {
         return(productServiceImpl.GetFeaturedProducts(count));
     }
     catch (Exception ex)
     {
         throw new FaultException <FaultData>(FaultData.CreateFromException(ex), FaultData.CreateFaultReason(ex));
     }
 }
Exemple #7
0
 public CategoryDataObjectList UpdateCategories(CategoryDataObjectList categoryDataObjects)
 {
     try
     {
         return(productServiceImpl.UpdateCategories(categoryDataObjects));
     }
     catch (Exception ex)
     {
         throw new FaultException <FaultData>(FaultData.CreateFromException(ex), FaultData.CreateFaultReason(ex));
     }
 }
Exemple #8
0
 public SalesOrderDataObjectList GetAllSalesOrders()
 {
     try
     {
         return(_orderServiceImpl.GetAllSalesOrders());
     }
     catch (Exception ex)
     {
         throw new FaultException <FaultData>(FaultData.CreateFromException(ex), FaultData.CreateFaultReason(ex));
     }
 }
Exemple #9
0
 public SalesOrderDataObject GetSalesOrder(Guid orderID)
 {
     try
     {
         return(_orderServiceImpl.GetSalesOrder(orderID));
     }
     catch (Exception ex)
     {
         throw new FaultException <FaultData>(FaultData.CreateFromException(ex), FaultData.CreateFaultReason(ex));
     }
 }
Exemple #10
0
 public ModuleDTO CreateModule(Guid webid, ModuleDTO moduledto)
 {
     try
     {
         return(webServiceImpl.CreateModule(webid, moduledto));
     }
     catch (Exception ex)
     {
         throw new FaultException <FaultData>(FaultData.CreateFromException(ex), FaultData.CreateFaultReason(ex));
     }
 }
Exemple #11
0
 public ModuleDTO EditModule(ModuleDTO moduledto)
 {
     try
     {
         return(webServiceImpl.EditModule(moduledto));
     }
     catch (Exception ex)
     {
         throw new FaultException <FaultData>(FaultData.CreateFromException(ex), FaultData.CreateFaultReason(ex));
     }
 }
Exemple #12
0
 public DataObjectListWithPagination <WebDTOList> GetWebsByPage(Pagination pagination)
 {
     try
     {
         return(webServiceImpl.GetWebsByPage(pagination));
     }
     catch (Exception ex)
     {
         throw new FaultException <FaultData>(FaultData.CreateFromException(ex), FaultData.CreateFaultReason(ex));
     }
 }
Exemple #13
0
 public UserDTOList GetUsersByWeb(Guid webid)
 {
     try
     {
         return(webServiceImpl.GetUsersByWeb(webid));
     }
     catch (Exception ex)
     {
         throw new FaultException <FaultData>(FaultData.CreateFromException(ex), FaultData.CreateFaultReason(ex));
     }
 }
Exemple #14
0
 public void DeleteWeb(IDList webids)
 {
     try
     {
         webServiceImpl.DeleteWeb(webids);
     }
     catch (Exception ex)
     {
         throw new FaultException <FaultData>(FaultData.CreateFromException(ex), FaultData.CreateFaultReason(ex));
     }
 }
Exemple #15
0
 public ProductDataObjectList GetProductsForCategory(Guid categoryID)
 {
     try
     {
         return(productServiceImpl.GetProductsForCategory(categoryID));
     }
     catch (Exception ex)
     {
         throw new FaultException <FaultData>(FaultData.CreateFromException(ex), FaultData.CreateFaultReason(ex));
     }
 }
Exemple #16
0
 public void DeleteShoppingCartItem(Guid shoppingCartItemID)
 {
     try
     {
         _orderServiceImpl.DeleteShoppingCartItem(shoppingCartItemID);
     }
     catch (Exception ex)
     {
         throw new FaultException <FaultData>(FaultData.CreateFromException(ex), FaultData.CreateFaultReason(ex));
     }
 }
Exemple #17
0
 public ProductDataObjectListWithPagination GetProductsForCategoryWithPagination(Guid categoryID, Pagination pagination)
 {
     try
     {
         return(productServiceImpl.GetProductsForCategoryWithPagination(categoryID, pagination));
     }
     catch (Exception ex)
     {
         throw new FaultException <FaultData>(FaultData.CreateFromException(ex), FaultData.CreateFaultReason(ex));
     }
 }
Exemple #18
0
 public SalesOrderDataObject Checkout(Guid customerID)
 {
     try
     {
         return(_orderServiceImpl.Checkout(customerID));
     }
     catch (Exception ex)
     {
         throw new FaultException <FaultData>(FaultData.CreateFromException(ex), FaultData.CreateFaultReason(ex));
     }
 }
Exemple #19
0
 public ProductDataObjectList UpdateProducts(ProductDataObjectList productDataObjects)
 {
     try
     {
         return(productServiceImpl.UpdateProducts(productDataObjects));
     }
     catch (Exception ex)
     {
         throw new FaultException <FaultData>(FaultData.CreateFromException(ex), FaultData.CreateFaultReason(ex));
     }
 }
Exemple #20
0
 public void Confirm(Guid orderID)
 {
     try
     {
         _orderServiceImpl.Confirm(orderID);
     }
     catch (Exception ex)
     {
         throw new FaultException <FaultData>(FaultData.CreateFromException(ex), FaultData.CreateFaultReason(ex));
     }
 }
Exemple #21
0
 public void DeleteCategories(IDList categoryIDs)
 {
     try
     {
         productServiceImpl.DeleteCategories(categoryIDs);
     }
     catch (Exception ex)
     {
         throw new FaultException <FaultData>(FaultData.CreateFromException(ex), FaultData.CreateFaultReason(ex));
     }
 }
 public void DeleteProducts(IDList productIDs)
 {
     try
     {
         _productServiceImpl.DeleteProducts(productIDs);
     }
     catch (Exception ex)
     {
         throw new FaultException <FaultData>(FaultData.CreateFromException(ex), FaultData.CreateFaultReason(ex));
     }
 }
Exemple #23
0
 public IList <OrderDto> GetOrdersForUser(Guid userId)
 {
     try
     {
         return(_orderServiceImp.GetOrdersForUser(userId));
     }
     catch (Exception ex)
     {
         throw new FaultException <FaultData>(FaultData.CreateFromException(ex), FaultData.CreateFaultReason(ex));
     }
 }
Exemple #24
0
 public void UncategorizeProduct(Guid productID)
 {
     try
     {
         productServiceImpl.UncategorizeProduct(productID);
     }
     catch (Exception ex)
     {
         throw new FaultException <FaultData>(FaultData.CreateFromException(ex), FaultData.CreateFaultReason(ex));
     }
 }
Exemple #25
0
 public void Dispatch(Guid orderId)
 {
     try
     {
         _orderServiceImp.Dispatch(orderId);
     }
     catch (Exception ex)
     {
         throw new FaultException <FaultData>(FaultData.CreateFromException(ex), FaultData.CreateFaultReason(ex));
     }
 }
Exemple #26
0
 public CategoryDataObject GetCategoryByID(Guid id, QuerySpec spec)
 {
     try
     {
         return(productServiceImpl.GetCategoryByID(id, spec));
     }
     catch (Exception ex)
     {
         throw new FaultException <FaultData>(FaultData.CreateFromException(ex), FaultData.CreateFaultReason(ex));
     }
 }
Exemple #27
0
 public ShoppingCartDto GetShoppingCart(Guid customerId)
 {
     try
     {
         return(_orderServiceImp.GetShoppingCart(customerId));
     }
     catch (Exception ex)
     {
         throw new FaultException <FaultData>(FaultData.CreateFromException(ex), FaultData.CreateFaultReason(ex));
     }
 }
Exemple #28
0
 public ProductDataObjectList GetProducts(QuerySpec spec)
 {
     try
     {
         return(productServiceImpl.GetProducts(spec));
     }
     catch (Exception ex)
     {
         throw new FaultException <FaultData>(FaultData.CreateFromException(ex), FaultData.CreateFaultReason(ex));
     }
 }
Exemple #29
0
 public void UpdateShoppingCartItem(Guid shoppingCartItemId, int quantity)
 {
     try
     {
         _orderServiceImp.UpdateShoppingCartItem(shoppingCartItemId, quantity);
     }
     catch (Exception ex)
     {
         throw new FaultException <FaultData>(FaultData.CreateFromException(ex), FaultData.CreateFaultReason(ex));
     }
 }
Exemple #30
0
 public List <Framework.Plugin.Contracts.Permission> GetAllAction(Guid WebID)
 {
     try
     {
         return(webServiceImpl.GetAllAction(WebID));
     }
     catch (Exception ex)
     {
         throw new FaultException <FaultData>(FaultData.CreateFromException(ex), FaultData.CreateFaultReason(ex));
     }
 }