Example #1
0
 static internal int GetMaxRouteCardTransactionID(int routeGroupId, int direction, int tblTransactionType)
 {
     using (var context = new WorkFlowManagerDBEntities())
     {
         var x = 0;
         if (context.sp_GetMaxRouteCardTransID(direction, routeGroupId, tblTransactionType).Any())
         {
             x = (int)context.sp_GetMaxRouteCardTransID(direction, routeGroupId, tblTransactionType).ToList()[0];
         }
         return(x);
     }
 }