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 DataObjects.UserDTO GetUserByID(Guid UserID) { try { return(userServiceImpl.GetUserByID(UserID)); } catch (Exception ex) { throw new FaultException <FaultData>(FaultData.CreateFromException(ex), FaultData.CreateFaultReason(ex)); } }
public UserDataObjectList GetUsers(QuerySpec spec) { try { return(userServiceImpl.GetUsers(spec)); } catch (Exception ex) { throw new FaultException <FaultData>(FaultData.CreateFromException(ex), FaultData.CreateFaultReason(ex)); } }
public List <Guid> GetGroupPermissionIDS(Guid groupid, Guid webid) { List <Guid> ids = null; try { return(userServiceImpl.GetGroupPermissionIDS(groupid, webid)); } catch (Exception ex) { throw new FaultException <FaultData>(FaultData.CreateFromException(ex), FaultData.CreateFaultReason(ex)); } }
public void EditUser(UserDTO uto) { try { userServiceImpl.EditUser(uto); } catch (Exception ex) { throw new FaultException <FaultData>(FaultData.CreateFromException(ex), FaultData.CreateFaultReason(ex)); } }
public bool IsExistsAccount(string Account) { try { return(userServiceImpl.IsExistsAccount(Account)); } catch (Exception ex) { throw new FaultException <FaultData>(FaultData.CreateFromException(ex), FaultData.CreateFaultReason(ex)); } }
public DataObjects.GroupDTOList GetAllGroups() { try { return(userServiceImpl.GetAllGroups()); } catch (Exception ex) { throw new FaultException <FaultData>(FaultData.CreateFromException(ex), FaultData.CreateFaultReason(ex)); } }
public UserDTOList GetUsersByGroupID(Guid GroupID) { try { return(userServiceImpl.GetUsersByGroupID(GroupID)); } catch (Exception ex) { throw new FaultException <FaultData>(FaultData.CreateFromException(ex), FaultData.CreateFaultReason(ex)); } }
public List <Guid> GetUserPermission(Guid UserID, Guid WebID, bool IsBan) { try { return(userServiceImpl.GetUserPermission(UserID, WebID, IsBan)); } 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 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 CategoryDataObjectList UpdateCategories(CategoryDataObjectList categoryDataObjects) { try { return(productServiceImpl.UpdateCategories(categoryDataObjects)); } 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 ProductDataObjectList GetFeaturedProducts(Int32 count) { try { return(productServiceImpl.GetFeaturedProducts(count)); } catch (Exception ex) { throw new FaultException <FaultData>(FaultData.CreateFromException(ex), FaultData.CreateFaultReason(ex)); } }
public DataObjects.GroupDTOList EditGroup(DataObjects.GroupDTOList group) { try { return(userServiceImpl.EditGroup(group)); } catch (Exception ex) { throw new FaultException <FaultData>(FaultData.CreateFromException(ex), FaultData.CreateFaultReason(ex)); } }
public void AssignUserPermission(Guid userid, Guid webid, List <Guid> moduleids, bool IsBan) { try { userServiceImpl.AssignUserPermission(userid, webid, moduleids, IsBan); } catch (Exception ex) { throw new FaultException <FaultData>(FaultData.CreateFromException(ex), FaultData.CreateFaultReason(ex)); } }
public void DeleteGroup(DataObjects.GroupDTOList groups) { try { userServiceImpl.DeleteGroup(groups); } catch (Exception ex) { throw new FaultException <FaultData>(FaultData.CreateFromException(ex), FaultData.CreateFaultReason(ex)); } }
public DataObjects.RoleDTOList EditRole(DataObjects.RoleDTOList role) { try { return(userServiceImpl.EditRole(role)); } catch (Exception ex) { throw new FaultException <FaultData>(FaultData.CreateFromException(ex), FaultData.CreateFaultReason(ex)); } }
public DataObjects.GroupDTO GetGroupByID(Guid id) { try { return(userServiceImpl.GetGroupByID(id)); } catch (Exception ex) { throw new FaultException <FaultData>(FaultData.CreateFromException(ex), FaultData.CreateFaultReason(ex)); } }
public DataObjects.UserDTOList GetUserListByRole(Guid roleid) { try { return(userServiceImpl.GetUserListByRole(roleid)); } catch (Exception ex) { throw new FaultException <FaultData>(FaultData.CreateFromException(ex), FaultData.CreateFaultReason(ex)); } }
public void AssignGroupPermission(Guid groupid, Guid webid, List <Guid> moduleids) { try { userServiceImpl.AssignGroupPermission(groupid, webid, moduleids); } catch (Exception ex) { throw new FaultException <FaultData>(FaultData.CreateFromException(ex), FaultData.CreateFaultReason(ex)); } }
public bool CheckPassword(string UserName, string Password) { try { return(userServiceImpl.CheckPassword(UserName, Password)); } catch (Exception ex) { throw new FaultException <FaultData>(FaultData.CreateFromException(ex), FaultData.CreateFaultReason(ex)); } }
public DataObjects.UserDTOList EditUsers(DataObjects.UserDTOList user) { try { return(userServiceImpl.EditUsers(user)); } catch (Exception ex) { throw new FaultException <FaultData>(FaultData.CreateFromException(ex), FaultData.CreateFaultReason(ex)); } }
public List <Guid> GetRolePermissionIDS(Guid roleid, Guid webid) { try { return(userServiceImpl.GetRolePermissionIDS(roleid, webid)); } catch (Exception ex) { throw new FaultException <FaultData>(FaultData.CreateFromException(ex), FaultData.CreateFaultReason(ex)); } }
public void DeleteUser(DataObjects.IDList UserIDs) { try { userServiceImpl.DeleteUser(UserIDs); } catch (Exception ex) { throw new FaultException <FaultData>(FaultData.CreateFromException(ex), FaultData.CreateFaultReason(ex)); } }
public DataObjects.DataObjectListWithPagination <DataObjects.RoleDTOList> GetRolesByPage(DataObjects.Pagination pagination) { try { return(userServiceImpl.GetRolesByPage(pagination)); } catch (Exception ex) { throw new FaultException <FaultData>(FaultData.CreateFromException(ex), FaultData.CreateFaultReason(ex)); } }
public UserDataObject GetUserByName(String userName, QuerySpec spec) { try { return(userServiceImpl.GetUserByName(userName, spec)); } catch (Exception ex) { throw new FaultException <FaultData>(FaultData.CreateFromException(ex), FaultData.CreateFaultReason(ex)); } }
public DataObjects.UserDTO AssignUserGroup(Guid userid, DataObjects.IDList groupids) { try { return(userServiceImpl.AssignUserGroup(userid, groupids)); } catch (Exception ex) { throw new FaultException <FaultData>(FaultData.CreateFromException(ex), FaultData.CreateFaultReason(ex)); } }
public RoleDataObject GetRoleByKey(Guid id) { try { return(userServiceImpl.GetRoleByKey(id)); } 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)); } }