public async System.Threading.Tasks.Task<ActionResult> Votings(VotingViewModel model)
        {
            if (!ModelState.IsValid)
                return View(model);

            var votingControle = new VotingModel();

            var studentData = await UserManager.FindByNameAsync(User.Identity.Name);

            if (votingControle.CheckVote(model.idTeacher, studentData))
                return RedirectToAction("TimeOut");

            votingControle.FixVoting(int.Parse(model.idTeacher.ToString()), studentData);

            votingControle.CalculateVotings(model);

            return RedirectToAction("VoitingMain", "Raiting");
        }