public ActionResult Applyjob(ApplyForJobModel applyForJobModel) { ModelManager modelManager = new ModelManager(); modelManager.ApplyJob(applyForJobModel); return(View("Success")); }
public async Task <IActionResult> ApplyForJob(ApplyForJobModel data) { await _candidateRepository.ApplyForJob(data); await _candidateRepository.Commit(); return(Ok()); }