//insert public bool insertApp(Guid appID, Guid jobID, string _fname, string _lname, string _email, string _phone, string _resume, string _cover) { careersAppDataContext objApps = new careersAppDataContext(); using (objApps) { brdhc_JobApplication objNewApp = new brdhc_JobApplication(); objNewApp.ApplicationId = Guid.NewGuid(); objNewApp.JobPostId = Guid.Parse(jobID.ToString()); objNewApp.FirstName = _fname; objNewApp.LastName = _lname; objNewApp.Email = _email; objNewApp.Phone = _phone; objNewApp.ResumePath = _resume; objNewApp.CoverLetter = _cover; objApps.brdhc_JobApplications.InsertOnSubmit(objNewApp); objApps.SubmitChanges(); return true; } }
partial void Deletebrdhc_JobApplication(brdhc_JobApplication instance);
partial void Updatebrdhc_JobApplication(brdhc_JobApplication instance);
partial void Insertbrdhc_JobApplication(brdhc_JobApplication instance);