public IHttpActionResult GetAll() { var result = _countRepository.GetAll(); if (result != null) { return(Ok(result)); } else { return(NotFound()); } }
public List <Plan> GetAll() { return(repository.GetAll()); }