public void Delete(int id) { var tbl_MemberType = _memberTypeRepository.FirstOrDefault(a => a.Id == id); if (tbl_MemberType != null) { _memberTypeRepository.Delete(tbl_MemberType); } }
public void Delete(int id) { var tbl_MemberType = _memberTypeRepository.FirstOrDefault(a => a.Id == id); if (tbl_MemberType != null) { _memberTypeRepository.Delete(tbl_MemberType); } }