public void Delete(int Id) { _curvePointRepository.Delete(Id); }
public void Delete(int id) { _curveRepo.Delete(id); _curveRepo.SaveChanges(); }