public ActionResult  Delete(Employee emp)
        {
            var model = _employeeRepositary.Delete(emp);

            if (model != null)
            {
                return(RedirectToAction("Index"));
            }

            return(View(model));
        }
 //Method to delete employee details
 public void Delete(int employeeId)
 {
     employeeRepositary.Delete(employeeId);
 }