public ActionResult BuyingTicket(FormCollection collection)
        {
            int Id   = Int32.Parse(collection.Get("Id"));
            int Type = Int32.Parse(collection.Get("TicketTypeId"));

            if (MappingDtos.EntityClientToModelClient(ClientUtils.GetClientById(Id)) != null)
            {
                Session["TicType"] = Type.ToString();
                return(RedirectToAction("TicketsList", "Employee", MappingDtos.EntityClientToModelClient(ClientUtils.GetClientById(Id))));
            }
            else
            {
                return(RedirectToAction("EmployeeError", "Employee", new { @errorMsg = "Nincs ilyen Id-vel rendelkezo kliens!" }));
            }
        }
        public ActionResult AddTicket(FormCollection collection)
        {
            var ClientId       = Int32.Parse(collection.Get("ClientId"));
            var InsertedDate   = DateTime.Parse(collection.Get("InsertedDate"));
            var SelectedTypeId = Int32.Parse(collection.Get("SelectedType"));
            var StartDate      = DateTime.Parse(collection.Get("StartDate"));

            if (TicketUtils.InsertTicket(ClientId, Session["LoginedUser"].ToString(), SelectedTypeId, InsertedDate, StartDate))
            {
                return(RedirectToAction("TicketsList", "Employee", MappingDtos.EntityClientToModelClient(ClientUtils.GetClientById(ClientId))));
            }
            else
            {
                return(RedirectToAction("EmployeeError", "Employee", new { @errorMsg = "Nem sikeres beszuras" }));
            }
        }