public async Task <ActionResult <Research> > GetResearchByID(string id) { var research = await _repository.GetResearch(id); if (research == null) { return(NotFound()); } return(Ok(research)); }
public async Task <ActionResult <Research> > GetResearchByID(string id) { var research = await _repository.GetResearch(id); if (research == null) { return(NotFound()); } return(Ok(research)); }