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));
     }
 }
Exemplo n.º 2
0
 public DataObjects.UserDTO GetUserByID(Guid UserID)
 {
     try
     {
         return(userServiceImpl.GetUserByID(UserID));
     }
     catch (Exception ex)
     {
         throw new FaultException <FaultData>(FaultData.CreateFromException(ex), FaultData.CreateFaultReason(ex));
     }
 }
Exemplo n.º 3
0
 public UserDataObjectList GetUsers(QuerySpec spec)
 {
     try
     {
         return(userServiceImpl.GetUsers(spec));
     }
     catch (Exception ex)
     {
         throw new FaultException <FaultData>(FaultData.CreateFromException(ex), FaultData.CreateFaultReason(ex));
     }
 }
Exemplo n.º 4
0
        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));
            }
        }
Exemplo n.º 5
0
 public void EditUser(UserDTO uto)
 {
     try
     {
         userServiceImpl.EditUser(uto);
     }
     catch (Exception ex)
     {
         throw new FaultException <FaultData>(FaultData.CreateFromException(ex), FaultData.CreateFaultReason(ex));
     }
 }
Exemplo n.º 6
0
 public bool IsExistsAccount(string Account)
 {
     try
     {
         return(userServiceImpl.IsExistsAccount(Account));
     }
     catch (Exception ex)
     {
         throw new FaultException <FaultData>(FaultData.CreateFromException(ex), FaultData.CreateFaultReason(ex));
     }
 }
Exemplo n.º 7
0
 public DataObjects.GroupDTOList GetAllGroups()
 {
     try
     {
         return(userServiceImpl.GetAllGroups());
     }
     catch (Exception ex)
     {
         throw new FaultException <FaultData>(FaultData.CreateFromException(ex), FaultData.CreateFaultReason(ex));
     }
 }
Exemplo n.º 8
0
 public UserDTOList GetUsersByGroupID(Guid GroupID)
 {
     try
     {
         return(userServiceImpl.GetUsersByGroupID(GroupID));
     }
     catch (Exception ex)
     {
         throw new FaultException <FaultData>(FaultData.CreateFromException(ex), FaultData.CreateFaultReason(ex));
     }
 }
Exemplo n.º 9
0
 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));
     }
 }
Exemplo n.º 15
0
 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));
     }
 }
Exemplo n.º 16
0
 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));
     }
 }
Exemplo n.º 17
0
 public void DeleteGroup(DataObjects.GroupDTOList groups)
 {
     try
     {
         userServiceImpl.DeleteGroup(groups);
     }
     catch (Exception ex)
     {
         throw new FaultException <FaultData>(FaultData.CreateFromException(ex), FaultData.CreateFaultReason(ex));
     }
 }
Exemplo n.º 18
0
 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));
     }
 }
Exemplo n.º 19
0
 public DataObjects.GroupDTO GetGroupByID(Guid id)
 {
     try
     {
         return(userServiceImpl.GetGroupByID(id));
     }
     catch (Exception ex)
     {
         throw new FaultException <FaultData>(FaultData.CreateFromException(ex), FaultData.CreateFaultReason(ex));
     }
 }
Exemplo n.º 20
0
 public DataObjects.UserDTOList GetUserListByRole(Guid roleid)
 {
     try
     {
         return(userServiceImpl.GetUserListByRole(roleid));
     }
     catch (Exception ex)
     {
         throw new FaultException <FaultData>(FaultData.CreateFromException(ex), FaultData.CreateFaultReason(ex));
     }
 }
Exemplo n.º 21
0
 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));
     }
 }
Exemplo n.º 22
0
 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));
     }
 }
Exemplo n.º 23
0
 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));
     }
 }
Exemplo n.º 24
0
 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));
     }
 }
Exemplo n.º 25
0
 public void DeleteUser(DataObjects.IDList UserIDs)
 {
     try
     {
         userServiceImpl.DeleteUser(UserIDs);
     }
     catch (Exception ex)
     {
         throw new FaultException <FaultData>(FaultData.CreateFromException(ex), FaultData.CreateFaultReason(ex));
     }
 }
Exemplo n.º 26
0
 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));
     }
 }
Exemplo n.º 27
0
 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));
     }
 }
Exemplo n.º 28
0
 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));
     }
 }
Exemplo n.º 29
0
 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));
     }
 }