public static WFDelegation GetDelegation(string delegationID) { IWFAdminService svc = Common.GetAdminAPI(); WFDelegation delegation = null; try { delegation = svc.GetDelegation(delegationID); } catch (Exception ex) { } return(delegation); }
public static WFDelegation UpdateDelegation(WFDelegation delegation) { IWFAdminService svc = Common.GetAdminAPI(); WFDelegation updatedDelegation = null; try { updatedDelegation = svc.UpdateDelegation(delegation); } catch (Exception ex) {} return(updatedDelegation); }
public static WFDelegation AddDelegation(WFDelegation delegation) { IWFAdminService svc = Common.GetAdminAPI(); WFDelegation delegations = null; try { delegations = svc.AddDelegation(delegation); } catch (Exception ex) { } return(delegations); }