public OkObjectResult Delete([FromBody] List <ParameterModel.PiscesParameter> input) { var paramProcessor = new DataAccessLayer.ParameterRepository(); var rval = paramProcessor.DeleteParameters(input); return(Ok(rval)); }
public OkObjectResult Get(string id) { var paramProcessor = new DataAccessLayer.ParameterRepository(); return(Ok(paramProcessor.GetParameters(id))); }