예제 #1
0
        public IEnumerable <PresentationLayer.Model.Issue> GetAllIssues()
        {
            List <PresentationLayer.Model.Issue> issueList = new List <PresentationLayer.Model.Issue>();
            var da = new DataAccess();

            foreach (var item in da.GetIssues())
            {
                PresentationLayer.Model.Issue temp = new Model.Issue();
                temp.IssueID     = item.IssueID;
                temp.ProductName = item.ProductName;
                temp.Solved      = item.Solved;
                temp.SolvedBy    = item.SolvedBy;
                temp.Subject     = item.Subject;
                temp.Description = item.Description;
                issueList.Add(temp);
            }
            return(issueList);
        }
예제 #2
0
 public void NotifyMe(PresentationLayer.Model.Issue message)
 {
     //string token = message.Notification;  // "change"
     //DisplayAlert("Test", "Hi!", "OK");
     this.SolveThis(message);
 }