Esempio n. 1
0
      public IActionResult GetAllTechnologies()
      {
          var result = _repository.GetAllTechnologies();

          if (result.Count == 0)
          {
              return(NoContent());
          }
          return(Ok(result));
      }
Esempio n. 2
0
        public IEnumerable <TechnologyViewModel> GetSnapshot(TransactionalKanbanContext context)
        {
            TechnologyRepository technology = new TechnologyRepository(context);

            return(technology.GetAllTechnologies().ToArray());
        }