public ActionResult AddConsultant(string name, string designation, string linkedinProfile, string blog, string hackernews, string stackoverflow, string github) { var consultant = Company.AddConsultant(name, designation, Common.FixUrl(linkedinProfile), Common.FixUrl(blog), Common.FixUrl(hackernews), Common.FixUrl(stackoverflow), Common.FixUrl(github)); if (Request.Files.Count > 0) { consultant.SavePicture(Request.Files[0] as HttpPostedFileBase); } DbContext.SaveChanges(); return(Redirect(string.Format("/{0}/Edit?Message={1}#People", LoggedInAccount.Username, MessageCodes.CONSULTANT_ADDED))); }