Skip to content

Instantly share code, notes, and snippets.

@tmcnab
Forked from jcreamer898/RecruiterController.cs
Last active August 29, 2015 13:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tmcnab/9400107 to your computer and use it in GitHub Desktop.
Save tmcnab/9400107 to your computer and use it in GitHub Desktop.
[POST("ajax/recruitment/recruiter/bookmark", IgnoreRoutePrefix = true)]
public ActionResult Bookmark(CandidateSearchBookmark bookmark)
{
using (var r = new System.IO.StreamReader(Request.InputStream))
{
Request.InputStream.Seek(0, System.IO.SeekOrigin.Begin);
System.Diagnostics.Debug.WriteLine(sr.ReadToEnd());
}
RecruiterRepository.CreateBookmark(bookmark);
return JsonCamelCase(new JsonSendResult()
{
Success = true
});
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment