using RMDataManagerLibrary.Internal.DataAccess; using RMDataManagerLibrary.Models; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace RMDataManagerLibrary.DataAcccess { public class InventoryData { public List GetInventory() { SqlDataAccess sql = new SqlDataAccess(); var output = sql.LoadData("dbo.spInventoryGetAll", new { }, "RMData"); return output; } public void SaveInventoryRecord(InventoryModel item) { SqlDataAccess sql = new SqlDataAccess(); sql.SaveData("dbo.spInventoryInsert", item, "RMData"); } } }