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);
}
}