public ActionResult Import(HttpPostedFileBase[] files)
        {
            try
            {
                var buffer = new byte[files.First().ContentLength];
                if (!files.First().ContentType.Contains("xml"))
                {
                    throw new Exception("Не верный тип файла " + files.First().ContentType);
                }
                files.First().InputStream.Read(buffer, 0, files.First().ContentLength);

                var isDb = IocHelper.CurrentToggle == "db";
                var helper = new IocHelper();
                var unmatched = helper.ArticleService.Import(isDb, buffer);
                var stringBuilder = new StringBuilder();
                if (unmatched.Count == 0)
                {
                    stringBuilder.Append("Импорт прошел успешно");
                }
                else
                {
                    foreach (var res in unmatched)
                    {
                        stringBuilder.Append(string.Format("{0}.<br>", res));
                    }
                }
                return Json(stringBuilder.ToString(), JsonRequestBehavior.AllowGet);
            }
            catch (Exception e)
            {
                throw new HttpException(500, e.Message);
            }
        }