public IHttpActionResult AddProblema(MultiDataModel data) { ProblemaList dataProb = JsonConvert.DeserializeObject <ProblemaList>(data.String1); var result = new PlanIntegralBL().AddProblema(dataProb, data.Int1, data.Int2); return(Ok(result)); }
public IHttpActionResult GetProblemaPagedAndFiltered(string personId) { var result = new PlanIntegralBL().GetProblemaPagedAndFiltered(personId); return(Ok(result)); }