public async Task VerifyGetAllProjectsFunction() { await _manageProject.GetAllProjects(); _projectRepository.Verify(r => r.GetAllProjects(), Times.Once); }
public async Task <IActionResult> GetAllProjects() { return(Ok(await _manageProject.GetAllProjects())); }