public string GetNextRecurringDate(int cartId, int cartItemId) { using (var hcE = new healthychefEntities()) { try { var recurringItem = hcE.hcc_RecurringOrderStartDate(cartId, cartItemId).SingleOrDefault(); return(((DateTime)recurringItem.MaxDeliveryDate).ToShortDateString()); } catch (Exception) { return("Date not available"); } } }