public int Count(params object[] parameters) { try { return(repository.Count(parameters)); } catch (Exception ex) { throw new Exception(ex.Message); } }