Exemple #1
0
        public IActionResult GetListJobTitle([FromBody] CustomDataSourceRequest request, int organizationID)
        {
            try
            {
                var jobTitle          = _organizationUnitProvider.ListJobTitle(organizationID);
                DataSourceRequest req = GridUtilities.ConvertToKendoFromCustomRequest(request);
                var filter            = jobTitle.ToDataSourceResult(req);

                return(Ok(filter));
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }