diff --git a/web/ApiControllers/BlogsController.cs b/web/ApiControllers/BlogsController.cs
index a06052a2..2ba096a1 100644
--- a/web/ApiControllers/BlogsController.cs
+++ b/web/ApiControllers/BlogsController.cs
@@ -208,14 +208,14 @@ namespace Yavsc.ApiControllers
);
}
}
- parts.Add(fo.OpenText().ReadToEnd());
+ bodies.Add(fo.OpenText().ReadToEnd());
fi.Delete();
fo.Delete();
}
- return Request.CreateResponse(HttpStatusCode.OK,string.Join("---\n",parts),new SimpleFormatter("text/plain"));
+ return Request.CreateResponse(HttpStatusCode.OK,string.Join("---\n",bodies),new SimpleFormatter("text/plain"));
}
catch (System.Exception e)
diff --git a/web/Helpers/YavscHelpers.cs b/web/Helpers/YavscHelpers.cs
index f7f6dd8c..161d1589 100644
--- a/web/Helpers/YavscHelpers.cs
+++ b/web/Helpers/YavscHelpers.cs
@@ -171,7 +171,7 @@ namespace Yavsc.Helpers
/// The script.
/// Html.
/// Object.
- public static string JavaScript(this HtmlHelper html, object obj)
+ public static string JavaScript(this System.Web.Mvc.HtmlHelper html, object obj)
{
return JavaScript (obj);
}
@@ -190,7 +190,7 @@ namespace Yavsc.Helpers
///
/// View data.
/// Message.
- public static void Notice (ViewDataDictionary ViewData, string message) {
+ public static void Notice (System.Web.Mvc.ViewDataDictionary ViewData, string message) {
if (ViewData ["Notifications"] == null)
ViewData ["Notifications"] = new List ();
(ViewData ["Notifications"] as List).Add (message.Replace("\'","\\\'"));
@@ -202,16 +202,16 @@ namespace Yavsc.Helpers
/// Html.
/// Path.
/// Patterns.
- public static IHtmlString FileList(this HtmlHelper html, string path, string [] patterns = null) {
+ public static IHtmlString FileList(this System.Web.Mvc.HtmlHelper html, string path, string [] patterns = null) {
StringWriter str = new StringWriter();
HtmlTextWriter writter = new HtmlTextWriter (str);
DirectoryInfo di = new DirectoryInfo (HttpContext.Current.Server.MapPath(path));
if (!di.Exists)
- return new MvcHtmlString ("");
+ return new System.Web.Mvc.MvcHtmlString ("");
var files = new List ();
if (patterns == null)
patterns = new string[] { "*" };
- var url = new UrlHelper(html.ViewContext.RequestContext,
+ var url = new System.Web.Mvc.UrlHelper(html.ViewContext.RequestContext,
html.RouteCollection);
foreach (string pattern in patterns)
@@ -248,7 +248,7 @@ namespace Yavsc.Helpers
writter.RenderEndTag ();
}
writter.RenderEndTag ();
- return new MvcHtmlString (str.ToString ());
+ return new System.Web.Mvc.MvcHtmlString (str.ToString ());
}
}