private string GetLab(string order) { try { var x = context.spView_OrderNumber_LaboratoryGetAll1(order).FirstOrDefault(); if (x != null) { return(Increment(x.OrderIndex)); } else { return("001"); } } catch (Exception e) { throw (e); } }
private string GetLab(string order) { try { var x = context.spView_OrderNumber_LaboratoryGetAll1(order).FirstOrDefault(); if (x != null) { return(Increment(x.OrderIndex)); } else { return("001"); } } catch (Exception e) { throw (e); } }