public async Task <IActionResult> Index() { var getallTask = await provider.GetAllAsync(); return(Ok(getallTask.Select(S => new GetAllResponseContract { Id = S.Id, Name = S.Name }).ToList())); }
public async Task <IActionResult> Index() { var getallTask = await provider.GetAllAsync(); return(Ok(getallTask.Select(S => new GetAllResponseContract { Id = S.Id, Name = S.Name }).ToList())); }