public IHttpActionResult OutcomeFramework(Guid id, OutcomeFramework update) { OutcomeFramework of = repo().UpdateOutcomeFramework(id, update); if (of == null) return NotFound(); return Ok(of); } // OutcomeFramework
public IHttpActionResult CreateOutcomeFramework(OutcomeFramework update) { OutcomeFramework of = repo().CreateOutcomeFramework(update); if (of == null) return NotFound(); return Ok(of); } // CreateOutcomeFramework
} // update_outcome_framework ///////////////////////////////////// protected OutcomeFramework testOutcomeFramework() { var of = new OutcomeFramework(); of.Title = "TEST__OUTCOME__FRAMEWORK"; of.Description = "Test Description"; return(of); } // testOutcomeFramework
} // createOutcomeFramework protected override OutcomeFramework updateOutcomeFramework(OutcomeFramework of) { var result = controller_.OutcomeFramework(of.Id, of); return(decodeActionResult(result)); } // updateOutcomeFramework
protected abstract OutcomeFramework updateOutcomeFramework(OutcomeFramework of);
} // createOutcomeFramework protected override OutcomeFramework updateOutcomeFramework(OutcomeFramework of) { return(repo_.UpdateOutcomeFramework(of.Id, of)); } // updateOutcomeFramework