public void DeleteWard(int id) { var wardEF = wardRepository.GetBy(id); wardRepository.Delete(wardEF); }