//////////////////////////// POST ///////////////////////// public async Task <DataTable> RequestBill_data(FJC_RequestBill fjc_RequestBill, string Token) { Dictionary <string, object> dictLogin = new Dictionary <string, object>(); dictLogin.Add("@token", Token); dictLogin.Add("@event_id", fjc_RequestBill.event_id); dictLogin.Add("@invoice_date", (ManageDatetime.DateTimeHandler(fjc_RequestBill.invoice_date))); dictLogin.Add("@mailed_date", (ManageDatetime.DateTimeHandler(fjc_RequestBill.mailed_date))); dictLogin.Add("@paid_date", (ManageDatetime.DateTimeHandler(fjc_RequestBill.paid_date))); dictLogin.Add("@flag", 0); DataSet ds = new DataSet(); ds = await AppDBCalls.GetDataSet("Evote_RequestBill", dictLogin); return(Reformatter.Validate_DataTable(ds.Tables[0])); }
private Dictionary <string, object> CommonSpParam(FJC_UpdateEVENT fJC_EVENT, string Token) { Dictionary <string, object> dictLogin = new Dictionary <string, object>(); dictLogin.Add("@EVENT_ID", fJC_EVENT.event_id); dictLogin.Add("@VOTING_START_DATETIME", (ManageDatetime.DateTimeHandler(fJC_EVENT.voting_start_datetime))); dictLogin.Add("@VOTING_END_DATETIME", (ManageDatetime.DateTimeHandler(fJC_EVENT.voting_end_datetime))); dictLogin.Add("@MEETING_DATETIME", (ManageDatetime.DateTimeHandler(fJC_EVENT.meeting_datetime))); dictLogin.Add("@LAST_DATE_NOTICE", (ManageDatetime.DateTimeHandler(fJC_EVENT.last_date_notice))); dictLogin.Add("@VOTING_RESULT_DATE", (ManageDatetime.DateTimeHandler(fJC_EVENT.voting_result_date))); dictLogin.Add("@UPLOAD_LOGO", fJC_EVENT.upload_logo); dictLogin.Add("@UPLOAD_RESOLUTION_FILE", fJC_EVENT.upload_resolution_file); dictLogin.Add("@UPLOAD_NOTICE", fJC_EVENT.upload_notice); dictLogin.Add("@ENTER_NOF_RESOLUTION", fJC_EVENT.enter_nof_resolution); dictLogin.Add("@token", Token); return(dictLogin); }
//////////////////////////// POST ///////////////////////// public async Task <DataTable> Intimation_data(FJC_Intimation fjc_intimation, string Token) { Dictionary <string, object> dictLogin = new Dictionary <string, object>(); dictLogin.Add("@token", Token); dictLogin.Add("@event_id", fjc_intimation.event_id); dictLogin.Add("@event_name", fjc_intimation.event_name); dictLogin.Add("@notice_date", (ManageDatetime.DateTimeHandler(fjc_intimation.notice_date))); dictLogin.Add("@rom_file", fjc_intimation.rom_file); dictLogin.Add("@email_sent_date", (ManageDatetime.DateTimeHandler(fjc_intimation.email_sent_date))); dictLogin.Add("@post_sent_date", (ManageDatetime.DateTimeHandler(fjc_intimation.post_sent_date))); dictLogin.Add("@flag", 0); DataSet ds = new DataSet(); ds = await AppDBCalls.GetDataSet("Evote_Intimation", dictLogin); return(Reformatter.Validate_DataTable(ds.Tables[0])); }
private Dictionary <string, object> CommonSpParam(FJC_CompanyUpdate_Event fJC_CompanyUpdate_Event, string Token) { Dictionary <string, object> dictLogin = new Dictionary <string, object>(); dictLogin.Add("@EVENT_ID", fJC_CompanyUpdate_Event.event_id); dictLogin.Add("@ISIN", fJC_CompanyUpdate_Event.isin); dictLogin.Add("@TYPE_ISIN", fJC_CompanyUpdate_Event.type_isin); dictLogin.Add("@TYPE_EVOTING", fJC_CompanyUpdate_Event.type_evoting); dictLogin.Add("@TOTAL_NOF_SHARE", fJC_CompanyUpdate_Event.total_nof_share); dictLogin.Add("@VOTING_RIGHTS", fJC_CompanyUpdate_Event.voting_rights); dictLogin.Add("@CUT_OF_DATE", (ManageDatetime.DateTimeHandler(fJC_CompanyUpdate_Event.cut_of_date))); dictLogin.Add("@SCRUTINIZER", fJC_CompanyUpdate_Event.scrutinizer); dictLogin.Add("@VOTING_START_DATETIME", (ManageDatetime.DateTimeHandler(fJC_CompanyUpdate_Event.voting_start_datetime))); dictLogin.Add("@VOTING_END_DATETIME", (ManageDatetime.DateTimeHandler(fJC_CompanyUpdate_Event.voting_end_datetime))); dictLogin.Add("@MEETING_DATETIME", (ManageDatetime.DateTimeHandler(fJC_CompanyUpdate_Event.meeting_datetime))); dictLogin.Add("@LAST_DATE_NOTICE", (ManageDatetime.DateTimeHandler(fJC_CompanyUpdate_Event.last_date_notice))); dictLogin.Add("@VOTING_RESULT_DATE", (ManageDatetime.DateTimeHandler(fJC_CompanyUpdate_Event.voting_result_date))); dictLogin.Add("@UPLOAD_LOGO", fJC_CompanyUpdate_Event.upload_logo); dictLogin.Add("@UPLOAD_RESOLUTION_FILE", fJC_CompanyUpdate_Event.upload_resolution_file); dictLogin.Add("@UPLOAD_NOTICE", fJC_CompanyUpdate_Event.upload_notice); dictLogin.Add("@ENTER_NOF_RESOLUTION", fJC_CompanyUpdate_Event.enter_nof_resolution); dictLogin.Add("@token", Token); return(dictLogin); }