public async Task VerifyGetProjectFunction() { await _manageProject.GetProject(114); _projectRepository.Verify(r => r.GetProject(114), Times.Once); }
public async Task <IActionResult> GetProject(int id) { return(Ok(await _manageProject.GetProject(id))); }