public ActionResult Edit(int id)
        {
            JobRequirement JobRequirement = new JobRequirement();

            try
            {
                JobRequirement = JobRequirementsLogic.GetJobRequirementById(id);
            }
            catch (Exception e)
            {
                LogsLogic.InsertLog(new Log()
                {
                    Message    = e.Message,
                    StackTrace = e.StackTrace,
                    StoryName  = "MoreHolidays/JobRequirements/Edit(Get)",
                    Parameters = "id=" + id
                });
            }
            return(View("Edit", JobRequirement));
        }
        public ActionResult Delete(int id)
        {
            int vacancyIdIndex = JobRequirementsLogic.GetJobRequirementById(id).VacancyId;

            try
            {
                JobRequirementsLogic.DeleteJobRequirement(id);
            }
            catch (Exception e)
            {
                LogsLogic.InsertLog(new Log()
                {
                    Message    = e.Message,
                    StackTrace = e.StackTrace,
                    StoryName  = "MoreHolidays/JobRequirements/Delete",
                    Parameters = "id=" + id
                });
            }
            return(RedirectToAction("Index", new { vacancyId = vacancyIdIndex }));
        }