public int GetInterpretationId(string orderNumber) { DtoInterpretation dtoIndication = InterpretationService.GetInterpretationByOrder(orderNumber); if (dtoIndication == null) { return(0); } else { return(dtoIndication.Id); } }
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)); }
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); }