public ActionResult <object> Get() { DALOps dal = new DALOps(connStr, database); #if DALChanges1 var dotNetObj = dal.GetCollection(collection); #else var dotNetObj = dal.GetCollection(dal, collection); #endif return(dotNetObj); }
public IActionResult Get() { DALOps dal = new DALOps(connStr, database); var dotNetObj = dal.GetCollection(dal, collection); return(Ok(dotNetObj)); }