public int AddProbe(ProbeDto probe) { var result = _connection .QuerySingle <int>("Probe_Add", new { name = probe.Name, specifications = probe.Specifications }, commandType: System.Data.CommandType.StoredProcedure); return(result); }
public int AddProbe(ProbeDto probeDto) { var result = _testingCaseRepository.AddProbe(probeDto); return(result); }