TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Siyabonga Mthethwa
NA
7
2.5k
Code error
Jul 27 2015 4:41 PM
im trying to create the Test result for the patient, every codes are working now the problem is with my create controler it's giving me errors in line 5(shaded line) in above code, can anyone please help
public ActionResult Create(int ? PatientId)
{
var ee = new HIVTestResultBusiness();
var Pb = new PatientBusiness();
if(PatientId.HasValue)
{
var Pname = Pb.GetPatients().Find(x => x.PatientId == PatientId.Value);
var model = new HIVTestResultModel.PatientId
{
PatientName = Pname.FullName.ToUpper() + " " + Pname.Surname.ToUpper(),
PatientId = PatientId.Value
};
System.Web.HttpContext.Current.Session["PatientId"] = PatientId;
return View(model);
}
return View();
i'd really appreciate your help good programmers
Reply
Answers (
1
)
WMI Mouse Problem
JSON Parsing