internal int InsertBillCategory(HMS_BillCategory objBillCtg) { try { _context.HMS_BillCategory.AddObject(objBillCtg); _context.SaveChanges(); return(1); } catch (Exception ex) { throw ex; } }
internal int InsertPatient(HMS_PatientInfo objPatient) { try { _context.HMS_PatientInfo.AddObject(objPatient); _context.SaveChanges(); return(1); } catch (Exception ex) { throw ex; } }
internal int InsertBillHead(HMS_BillHead objBillHead) { try { _context.HMS_BillHead.AddObject(objBillHead); _context.SaveChanges(); return(1); } catch (Exception ex) { throw ex; } }