常用方法
常用方法
常用方法
常用方法
public async Task <IActionResult> Get() { var assignments = await _assignmentRepository.AllAsync(); return(Ok(_adapter.Adapt <IList <Assignment> >(assignments))); }
public async Task <IActionResult> Get() { var assignments = await _assignmentRepository.AllAsync(); return(Ok(_adapter.Adapt <IList <Assignment> >(assignments))); }