public void Delete() { bool result = VendorEmployeeManager.Delete(2); Assert.IsTrue(result); }
public ActionResult FireEmployee(int id, EmployeeVendorViewModel vm) { VendorEmployeeManager.Delete(id); TempData["Message"] = "Employee has been fired"; return(RedirectToAction("GetEmployees", "Vendor")); }