Exemplo n.º 1
0
    public DataTable GetSmsSentPR(string area_code, string user, string sent, string from, string end)
    {
        // int listid = int.Parse(list_code);
        //int area_id = area_code;
        DateTime from_date = ReturnDate(from, 1);
        DateTime end_date  = ReturnDate(end, 2);

        //data_table = data_file.GetSmsSentPR(area_code, user, sent, from_date, end_date);
        //return data_table;
        using (DataTable data_table1 = data_file.GetSmsSentPR(area_code, user, sent, from_date, end_date))
        {
            return(data_table1);
        }
    }