public IList <Manager> GetManagerFlow(decimal flowID) { try { IList <Manager> list = new List <Manager>(); if (flowID > 0) { IList <decimal> ids = accessPort.GetAccessibleManagers(); list = managerRep.GetFlowManagers(flowID, ids.ToArray()); } return(list); } catch (Exception ex) { LogException(ex, "BManager", "GetManagerFlow"); throw ex; } }