public IActionResult Post([FromBody] ExamGroupModel model)
 {
     return(Post(_service.InsertExamGroup, AuditNew(model)));
 }
        public ExamGroupModel UpdateExamGroup(ExamGroupModel model)
        {
            var updated = _repo.Update(model);

            return(GetExamGroup(updated.Id));
        }
 public IActionResult Put(int id, [FromBody] ExamGroupModel model)
 {
     return(Put(_service.UpdateExamGroup, AuditExisting(model)));
 }
        public ExamGroupModel InsertExamGroup(ExamGroupModel model)
        {
            var inserted = _repo.Insert(model);

            return(GetExamGroup(inserted.Id));
        }