Exemplo n.º 1
0
 public static Boolean SaveDataLitbang(PinereDataContext dc, string User, Litbang lb, int PasienId)
 {
     try
     {
         dc.InsertDataLitbang(lb.Id, PasienId, GetDateFromStringDate(lb.TanggalPeriksaLab), lb.HasilLab, lb.Keterangan, lb.Attachment, DateTime.Now, User, GetDateFromStringDate(lb.TanggalTerimaSampel));
         return(true);
     }
     catch (Exception e)
     {
         throw new Exception(e.Message);
     }
 }