public void DeleteData(TaskViewModel model) { IAnswerService service = answerService(model.TaskName, Database); service.DeleteData(model); }