public IActionResult Index()
        {
            var result = _jobTimelineService.GetJobTimeline(User.Identity.GetUserProfileId() ?? default(long));

            if (result.Status != StatusEnum.Success)
            {
                return(BadRequest());
            }
            return(View(result.Value));
        }
        public IActionResult ViewGrouped()
        {
            var result = _jobTimelineService.GetJobTimeline(User.Identity.GetUserProfileId() ?? default(long));

            if (result.Status != Common.Enums.StatusEnum.Success)
            {
                return(BadRequest());
            }
            var model = result.Value;

            return(PartialView("_ViewGroupedPartial", model));
        }