public WebDTOList EditWeb(WebDTOList webdto) { try { return(webServiceImpl.EditWeb(webdto)); } catch (Exception ex) { throw new FaultException <FaultData>(FaultData.CreateFromException(ex), FaultData.CreateFaultReason(ex)); } }
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)); } }
public int GetShoppingCartItemCount(Guid userId) { try { return(_orderServiceImp.GetShoppingCartItemCount(userId)); } catch (Exception ex) { throw new FaultException <FaultData>(FaultData.CreateFromException(ex), FaultData.CreateFaultReason(ex)); } }
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)); } }
public IList <OrderDto> GetAllOrders() { try { return(_orderServiceImp.GetAllOrders()); } catch (Exception ex) { throw new FaultException <FaultData>(FaultData.CreateFromException(ex), FaultData.CreateFaultReason(ex)); } }
public ProductDataObjectList GetFeaturedProducts(Int32 count) { try { return(productServiceImpl.GetFeaturedProducts(count)); } catch (Exception ex) { throw new FaultException <FaultData>(FaultData.CreateFromException(ex), FaultData.CreateFaultReason(ex)); } }
public CategoryDataObjectList UpdateCategories(CategoryDataObjectList categoryDataObjects) { try { return(productServiceImpl.UpdateCategories(categoryDataObjects)); } catch (Exception ex) { throw new FaultException <FaultData>(FaultData.CreateFromException(ex), FaultData.CreateFaultReason(ex)); } }
public SalesOrderDataObjectList GetAllSalesOrders() { try { return(_orderServiceImpl.GetAllSalesOrders()); } catch (Exception ex) { throw new FaultException <FaultData>(FaultData.CreateFromException(ex), FaultData.CreateFaultReason(ex)); } }
public SalesOrderDataObject GetSalesOrder(Guid orderID) { try { return(_orderServiceImpl.GetSalesOrder(orderID)); } catch (Exception ex) { throw new FaultException <FaultData>(FaultData.CreateFromException(ex), FaultData.CreateFaultReason(ex)); } }
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)); } }
public ModuleDTO EditModule(ModuleDTO moduledto) { try { return(webServiceImpl.EditModule(moduledto)); } catch (Exception ex) { throw new FaultException <FaultData>(FaultData.CreateFromException(ex), FaultData.CreateFaultReason(ex)); } }
public DataObjectListWithPagination <WebDTOList> GetWebsByPage(Pagination pagination) { try { return(webServiceImpl.GetWebsByPage(pagination)); } catch (Exception ex) { throw new FaultException <FaultData>(FaultData.CreateFromException(ex), FaultData.CreateFaultReason(ex)); } }
public UserDTOList GetUsersByWeb(Guid webid) { try { return(webServiceImpl.GetUsersByWeb(webid)); } catch (Exception ex) { throw new FaultException <FaultData>(FaultData.CreateFromException(ex), FaultData.CreateFaultReason(ex)); } }
public void DeleteWeb(IDList webids) { try { webServiceImpl.DeleteWeb(webids); } catch (Exception ex) { throw new FaultException <FaultData>(FaultData.CreateFromException(ex), FaultData.CreateFaultReason(ex)); } }
public ProductDataObjectList GetProductsForCategory(Guid categoryID) { try { return(productServiceImpl.GetProductsForCategory(categoryID)); } catch (Exception ex) { throw new FaultException <FaultData>(FaultData.CreateFromException(ex), FaultData.CreateFaultReason(ex)); } }
public void DeleteShoppingCartItem(Guid shoppingCartItemID) { try { _orderServiceImpl.DeleteShoppingCartItem(shoppingCartItemID); } catch (Exception ex) { throw new FaultException <FaultData>(FaultData.CreateFromException(ex), FaultData.CreateFaultReason(ex)); } }
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)); } }
public SalesOrderDataObject Checkout(Guid customerID) { try { return(_orderServiceImpl.Checkout(customerID)); } catch (Exception ex) { throw new FaultException <FaultData>(FaultData.CreateFromException(ex), FaultData.CreateFaultReason(ex)); } }
public ProductDataObjectList UpdateProducts(ProductDataObjectList productDataObjects) { try { return(productServiceImpl.UpdateProducts(productDataObjects)); } catch (Exception ex) { throw new FaultException <FaultData>(FaultData.CreateFromException(ex), FaultData.CreateFaultReason(ex)); } }
public void Confirm(Guid orderID) { try { _orderServiceImpl.Confirm(orderID); } catch (Exception ex) { throw new FaultException <FaultData>(FaultData.CreateFromException(ex), FaultData.CreateFaultReason(ex)); } }
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)); } }
public IList <OrderDto> GetOrdersForUser(Guid userId) { try { return(_orderServiceImp.GetOrdersForUser(userId)); } catch (Exception ex) { throw new FaultException <FaultData>(FaultData.CreateFromException(ex), FaultData.CreateFaultReason(ex)); } }
public void UncategorizeProduct(Guid productID) { try { productServiceImpl.UncategorizeProduct(productID); } catch (Exception ex) { throw new FaultException <FaultData>(FaultData.CreateFromException(ex), FaultData.CreateFaultReason(ex)); } }
public void Dispatch(Guid orderId) { try { _orderServiceImp.Dispatch(orderId); } catch (Exception ex) { throw new FaultException <FaultData>(FaultData.CreateFromException(ex), FaultData.CreateFaultReason(ex)); } }
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)); } }
public ShoppingCartDto GetShoppingCart(Guid customerId) { try { return(_orderServiceImp.GetShoppingCart(customerId)); } catch (Exception ex) { throw new FaultException <FaultData>(FaultData.CreateFromException(ex), FaultData.CreateFaultReason(ex)); } }
public ProductDataObjectList GetProducts(QuerySpec spec) { try { return(productServiceImpl.GetProducts(spec)); } catch (Exception ex) { throw new FaultException <FaultData>(FaultData.CreateFromException(ex), FaultData.CreateFaultReason(ex)); } }
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)); } }
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)); } }