Esempio n. 1
0
        /*public string GetClientStatusColor(int clientID)
         * {
         *  string res = "";
         *  try
         *  {
         *      if (GetClient(clientID).statusID != null)
         *      {
         *          var color = GetClient(clientID).crm_clientStatuses.color;
         *          if (color != null)
         *              res = color;
         *      }
         *  }
         *  catch (Exception ex)
         *  {
         *      RDL.Debug.LogError(ex);
         *  }
         *  return res;
         * }*/

        #endregion

        #region clientStatus
        public crm_clientStatuses GetClientStatus(int id)
        {
            var res = new crm_clientStatuses();

            res = db.GetClientStatus(id);
            return(res);
        }