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
示例#3
0
        } // 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
示例#5
0
 protected abstract OutcomeFramework updateOutcomeFramework(OutcomeFramework of);
示例#6
0
        } // createOutcomeFramework

        protected override OutcomeFramework updateOutcomeFramework(OutcomeFramework of)
        {
            return(repo_.UpdateOutcomeFramework(of.Id, of));
        } // updateOutcomeFramework