public ActionResult ContactUs() { var userName = GetProviderUserName(); var response = _homeMediator.GetContactMessageViewModel(userName); return(View(response.ViewModel)); }
public async Task <ActionResult> Helpdesk() { return(await Task.Run <ActionResult>(() => { var candidateId = GetCandidateId(); var response = _homeMediator.GetContactMessageViewModel(candidateId); return View(response.ViewModel); })); }