/// <summary> /// Gets the dashboad association. /// </summary> /// <param name="Email">The email.</param> /// <returns></returns> /// <exception cref="Exception"></exception> public DashboardStats DashboadStats(string Email) { try { var param = new SqlParameter[] { new SqlParameter("@LOGGEDINUSEREMAIL", Email) }; var Stats = m_DashboardRepository.DashboardStats(Email); return(Stats); } catch (Exception ex) { var message = string.Format("{0} {1} {2}", ex.InnerException == null ? ex.Message : ex.InnerException.Message, Environment.NewLine, ex.StackTrace); throw new Exception(message); } }