public void AddPatient() { DLModel.PatientAccount = "Test"; DLModel.PatientFirst = "Test"; DLModel.PatientLast = "Test"; DLModel.PatientGender = "Test"; DLModel.PatientDOB = System.DateTime.Now; DLModel.PatientEmployer = "Test"; DLModel.PatientInsurance = "Test"; DLModel.PatientWCAB = "Test"; DLModel.PatientSSN = "Test"; DLModel.PatientClaim = "wer"; int patientid = _patientImplBL.AddPatient(DLModel); Assert.IsTrue(true, "Unable to find"); }
public ActionResult Add(Patient patient) { int id = _patientBL.AddPatient(Mapper.Map <LMGEDI.Core.Data.Model.Patient>(patient)); return(Json("Patient Insert Successfully")); }