Ejemplo n.º 1
0
        public int GetInterpretationId(string orderNumber)
        {
            DtoInterpretation dtoIndication = InterpretationService.GetInterpretationByOrder(orderNumber);

            if (dtoIndication == null)
            {
                return(0);
            }
            else
            {
                return(dtoIndication.Id);
            }
        }
Ejemplo n.º 2
0
        public string EditInterpretation(string text, char condition, string orderNumber, DateTime?signOutDt)
        {
            var dtoInterpretation = new DtoInterpretation()
            {
                Text      = text,
                Condition = condition,
                Order     = new DtoOrder2()
                {
                    Number = orderNumber
                },
                SignOutDt = signOutDt
            };

            return(InterpretationService.EditInterpretation(dtoInterpretation));
        }
Ejemplo n.º 3
0
 public string EditInterpretation(string text, char condition, string orderNumber, DateTime? signOutDt)
 {
     var  dtoInterpretation = new DtoInterpretation()
     {
         Text = text,
         Condition = condition,
         Order = new DtoOrder2()
         {
             Number = orderNumber
         },
         SignOutDt = signOutDt
     };
     return InterpretationService.EditInterpretation(dtoInterpretation);
 }