public DashboardModel GetDashboardDetail()
        {
            var            dashboardData  = _dashboardManager.GetDashboardDetail();
            DashboardModel dashboardCount = new DashboardModel();

            dashboardCount.UserCount       = dashboardData.UserCount;
            dashboardCount.DailyVisitCount = dashboardData.DailyVisitCount;
            dashboardCount.Messages        = dashboardData.Messages.Select(p => new Message
            {
                Title         = p.Title,
                Description   = p.Description,
                CreatedDate   = p.CreatedDate,
                MessageTypeId = p.MessageTypeId
            }).ToList();

            return(dashboardCount);
        }