public void SendMail(Task task) // czy tworzy siÄ™ metody asynchroniczne dla void ? { MailManager _mailManager = new MailManager(); MailSender _mailSender = new MailSender(); var message = _mailManager.CreateMessage("Task reminder", "*****@*****.**", "Babel", task.ApplicationUsers_Email, "Task to do on: " + task.FinishTime.ToString(), task.TaskContent); _mailSender.SendMessage(message); }