public ActionResult Edit(EditKindergartenViewModel model, string content)
        {
            if (User.Identity.IsAuthenticated && ((User.IsInRole("Administrator") && (model.Id == User.Identity.GetUserId())) || User.IsInRole("Admin")))
            {
                if (ModelState.IsValid)
                {
                    content = content.Replace("$ENTER$", "\r\n");
                    List <DescriptionBlock> descriptionBlocks = new List <DescriptionBlock> {
                    };
                    List <string> blocks = content.Split(new string[] { "$EDGE$" }, StringSplitOptions.None).ToList();
                    List <string> temp;
                    for (int i = 0; i < blocks.Count; i++)
                    {
                        temp = blocks[i].Split(new string[] { "$SLASH$" }, StringSplitOptions.None).ToList();
                        switch (temp[0])
                        {
                        case "text":
                            descriptionBlocks.Add(new DescriptionBlockText {
                                KindergartenId = model.Id, Header = temp[1], Body = temp[2]
                            });
                            break;

                        case "text-image":
                            descriptionBlocks.Add(new DescriptionBlockTextImage {
                                KindergartenId = model.Id, Image = temp[1], Header = temp[2], Body = temp[3]
                            });
                            break;
                        }
                    }
                    KindergartenManager.EditKindergarten(descriptionBlocks, model.Id, Server, model);
                    return(RedirectToAction("KindergartenProfile", "Kindergarten", new { id = model.Id }));
                }
                else
                {
                    return(View(model));
                }
            }
            return(RedirectToAction("Index", "Home"));
        }