|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Android.App;
using Android.Content;
using Android.OS;
using Android.Runtime;
using Android.Views;
using Android.Widget;
using COINSMobile.Core.DataLayer;
namespace COINSMobile.Core.BusinessLayer
{
public static class StockManager
{
public static string Message { get; set; }
static StockManager()
{
}
public static bool IsStockExists(string _stockname)
{
return StockDatabase.IsStockExists(_stockname);
}
public static IEnumerable<Stock> GetStocks()
{
return StockDatabase.GetStocks();
}
public static bool SaveStock(string _stockname)
{
return StockDatabase.SaveStock(_stockname);
}
public static bool DeleteAllStocks()
{
return StockDatabase.DeleteAllStocks();
}
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
Sandip is a "Software Architect, CEO, Founder at ClarityCX Solutions & Services Private Limited"
He has 24 years of rich experience working in software development in the areas of market research, web, mobile and e-commerce.
Sandip has wide ranging experience in C#, VB.NET, ASP.Net, JQuery, JSON, LINQ, WCF, WPF, NodeJs, MongoDB, AngularJS, Express, Silverlight, SOA, Android, IPhone, IPad and Windows Mobile applications.
Specialized in Hybrid and Native Apps in iOS, Android, Windows Phone, Blackberry, Symbian, Tizen, WebOS.
Sandip can be reached at sandip.net@gmail.com
Tweet: @sandipnascar
FB: https:sandipnascar
View My Page