File Upload to image for java controller
File Upload to image for java controller
simonssh
Posts: 1Questions: 0Answers: 0
in DataTables
Hi,
If I want use java controller, what can I do?
public IHttpActionResult Staff()
{
var request = HttpContext.Current.Request;
var settings = Properties.Settings.Default;
using (var db = new Database(settings.DbType, settings.DbConnection))
{
var response = new Editor(db, "staff")
.Model<StaffModel>()
.Process(request)
.Data();
return Json(response);
}
}
This discussion has been closed.
Replies
The code you posted is C#. I'm afraid we don't currently provide or support libraries for Java on the server-side with Editor.
Allan