示例#1
0
        public IHttpActionResult InsertUpdateConsultationObjectives(ConsultationObjectives consultationObjectives)
        {
            if (!ModelState.IsValid)
            {
                return(BadRequest(ModelState));
            }
            var ConsultationBLObj = _Kernel.Get <IConsultationBL>();

            consultationObjectives.Active = true;
            var consultationObjectiveResult = ConsultationBLObj.InsertUpdateConsultationObjectives(consultationObjectives);

            return(Ok(consultationObjectiveResult.Message));
        }
 public ConsultationObjectiveResponse InsertUpdateConsultationObjectives(ConsultationObjectives consultationObjectives)
 {
     try
     {
         return(this._consultationDA.InsertUpdateConsultationObjectives(consultationObjectives));
     }
     catch (Exception ex)
     {
         throw;
     }
     finally
     {
         //Log
     }
 }
示例#3
0
 public ConsultationObjectiveModel()
 {
     ConsultationObjectivesObject = new ConsultationObjectives();
 }