daster/source/requests/smsnumbers.d

16 lines
404 B
D

module requests.smsnumbers;
import vibe.vibe;
import response;
import data;
import singlog;
void smsNumbers(HTTPServerRequest req, HTTPServerResponse res) {
// auto jsr = req.json;
// bool edit = true;
// auto dataNumber = sqlGetDataNumber(jsr["number"].get!string);
// auto groups = sqlGetGroups();
auto numbers = sqlGetSMSNumbers();
render!("sms-numbers.dt", numbers)(res);
}