public int CreateAsset(Asset asset) { AssetDAO assetDAO = new AssetDAO(); return(assetDAO.CreateAsset(asset)); }
public List <Asset> GetAllAssetDetails() { AssetDAO assetDAO = new AssetDAO(); return(assetDAO.GetAllAssetDetails()); }