Пример #1
0
 public IEnumerable <ProjectResponseDto> GetProject(CreateProjectDto project)
 {
     return(_storage.GetProjects(new ProjectQuerySearch
     {
         Customer = project.Customer,
         Name = project.Name
     }).ToList());
 }
Пример #2
0
 public ActionResult <IEnumerable <ProjectResponseDto> > FetchProjects()
 {
     return(Ok(_storage.GetProjects(new ProjectQuerySearch())));
 }