public bool SaveToDatabase(IList <Entity> entities) { bool result; //TODO :DI using (IDal database = new DynamoDb()) { result = database.InsertEntities(entities); } return(result); }