public IHttpActionResult GetAll()
        {
            var result = _countRepository.GetAll();

            if (result != null)
            {
                return(Ok(result));
            }
            else
            {
                return(NotFound());
            }
        }
示例#2
0
 public List <Plan> GetAll()
 {
     return(repository.GetAll());
 }