public void GetAll() { // Act IEnumerable <Usuario> result = UsuarioSQLService.GetAll(); // Assert Assert.IsNotNull(result); Assert.IsTrue(result.Count() > 0); }
// GET: api/Usuarios public IEnumerable <Usuario> Get() { return(UsuarioSQLService.GetAll()); }