public static void Update(ServiceExportBill.export_bill dh) { sExportBill.UpdateExportBill(dh); }
private static ExportBill ConvertExportBill(ServiceExportBill.export_bill item) { ExportBill ex = new ExportBill(); ex.id = item.id; ex.date = item.date; ex.id_user = item.id_user; ex.total_price = item.total_price; ex.status = item.status; var u = sUser.GetUserById(item.id_user); ex.name_user = u.name; ex.email_user = u.email; ex.phone_number = u.phone_number; return ex; }
public static void Insert(ServiceExportBill.export_bill dh) { sExportBill.AddExportBill(dh); }