public ActionResult Create(TaskViewModel task)
 {
     if (_authorizationLogic.IsUserLoggedIn() && task != null)
     {
         var result = _taskLogic.Add(task);
     }
     return(RedirectToAction("Index")); //display message task created successfully
 }