Ejemplo n.º 1
0
 public void AddRationale(string rationale)
 {
     //Get DataAccessLocator for BHHCDataAccess.AddRationale to save new data
     DataAccessLocator.Get <IBHHCDataAccess>("connectionString").AddRationale(rationale);
     //var dataAccess = GetDataAccess();
     //dataAccess.AddRationale(rationale);
 }
Ejemplo n.º 2
0
        public List <string> GetRationales()
        {
            var rationales = new List <string>();

            //Get DataAccessLocator for BHHCDataAccess.GetRationales and return result
            return(DataAccessLocator.Get <IBHHCDataAccess>("connectionString").GetRationales());
            //var dataAccess = GetDataAccess();
            //rationales = dataAccess.GetRationales();
            //return rationales;
        }