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