public int Count(params object[] parameters) { try { return(repository.Count(parameters)); } catch (Exception ex) { throw new Exception(ex.Message); } }
public int Count(Expression <Func <Formulario, bool> > where) { return(_formularioRepository.Count(where)); }