示例#1
0
        public async Task <IActionResult> GetProjects([DataSourceRequest] DataSourceRequest request)
        {
            var projects = _projectProvider.GetAvailableProjects(User.Identity.Name);

            return(Json(await projects.ToDataSourceResultAsync(request)));
        }