public IEnumerable <ProjectResponseDto> GetProject(CreateProjectDto project) { return(_storage.GetProjects(new ProjectQuerySearch { Customer = project.Customer, Name = project.Name }).ToList()); }
public ActionResult <IEnumerable <ProjectResponseDto> > FetchProjects() { return(Ok(_storage.GetProjects(new ProjectQuerySearch()))); }