public IActionResult GetOrganizationUnitLevel() { var data = _organizationUnitProvider.GetOrganizationLevel(); return(Ok(data.Select(x => new { Value = x.Id, Text = x.Name }))); }
public IActionResult GetOrganizationUnitLevel() { var data = _organizationUnitProvider.GetOrganizationLevel(); return(Ok(data.Select(x => new { Value = x.Id, Text = x.Name }))); }