public async Task <IActionResult> DeleteTask(int taskId) => await tasksManager.DeleteTask(taskId) ? (IActionResult)RedirectToAction("Index", "Tasks").PushAlert("Task was deleted") : this.ErrorPage();