public async Task <IActionResult> Create(AnnoucementCreateViewModel vm)
        {
            if (!ModelState.IsValid)
            {
                return(View(vm));
            }
            var announcement = vm.ToAnnouncement();

            announcement.TimeStamp = DateTime.Now;
            announcement.User      = HttpContext.Session.GetCurrentUser();

            await _repo.AddAnnouncmentAsync(announcement);

            return(RedirectToAction("CreateSuccess"));
        }