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