Ejemplo n.º 1
0
        public IHttpActionResult InsertUpdateConsultationSubjectives(ConsultationSubjectives consultationSubjectives)
        {
            if (!ModelState.IsValid)
            {
                return(BadRequest(ModelState));
            }
            var ConsultationBLObj = _Kernel.Get <IConsultationBL>();

            consultationSubjectives.Active = true;
            var consultationSubjectiveResult = ConsultationBLObj.InsertUpdateConsultationSubjectives(consultationSubjectives);

            return(Ok(consultationSubjectiveResult.Message));
        }
Ejemplo n.º 2
0
 public ConsultationSubjectiveResponse InsertUpdateConsultationSubjectives(ConsultationSubjectives consultationSubjectives)
 {
     try
     {
         return(this._consultationDA.InsertUpdateConsultationSubjectives(consultationSubjectives));
     }
     catch (Exception ex)
     {
         throw;
     }
     finally
     {
         //Log
     }
 }
Ejemplo n.º 3
0
 public ConsultationSubjectiveModel()
 {
     ConsultationSubjectivesObject = new ConsultationSubjectives();
 }