Ejemplo n.º 1
0
 public static List <Person_Details.USP_getRenewaldata2018Result> getrenewaldata2018(string sdt, string edt, string ltype, string isprocess, string licno)
 {
     using (Person_Details.Person_LicenseDataContext odb = new Person_Details.Person_LicenseDataContext())
     {
         if (sdt == "")
         {
             sdt = DateTime.Now.ToShortDateString();
         }
         if (edt == "")
         {
             edt = DateTime.Now.ToShortDateString();
         }
         return(odb.USP_getRenewaldata2018(Convert.ToDateTime(sdt), Convert.ToDateTime(edt), Convert.ToInt32(ltype), Convert.ToInt32(isprocess), licno).ToList());
     }
 }