public async Task VerifyGetAllFunction() { await _manageParentTaskDetails.GetAll(); _parentTaskRepository.Verify(r => r.GetAll(), Times.Once); }
public async Task <IActionResult> GetAll() { return(Ok(await _manageParentTaskDetails.GetAll())); }