Example #1
0
 public LUResponse GetSaleRisk(LURequest r)
 {
     List<RecItem> items = new List<RecItem>();
     items.Add(new RecItem { Id = Guid.NewGuid(), Name = "סיכון 1", IsSelected = true });
     return new LUResponse
     {
         Items = items
     };
 }
Example #2
0
 public LUResponse GetSaleElementary(LURequest r)
 {
     List<RecItem> items = new List<RecItem>();
     items.Add(new RecItem { Id = Guid.NewGuid(), Name = "אלמנטרי 1", IsSelected = true });
     return new LUResponse
     {
         Items = items
     };
 }
Example #3
0
 public LUResponse GetSaleCriticalIlless(LURequest r)
 {
     List<RecItem> items = new List<RecItem>();
     items.Add(new RecItem { Id = Guid.NewGuid(), Name = "מחלות 1", IsSelected = true });
     return new LUResponse
     {
         Items = items
     };
 }
Example #4
0
 public LUResponse GetSalePersonalAccident(LURequest r)
 {
     List<RecItem> items = new List<RecItem>();
     items.Add(new RecItem { Id = Guid.Parse("24858f86-46f8-4c92-a221-d43d933474f4"), Name = "תאונות 1", IsSelected = true });
     items.Add(new RecItem { Id = Guid.Parse("34858f86-46f8-4c92-a221-d43d933474f4"), Name = "תאונות 2", IsSelected = false });
     items.Add(new RecItem { Id = Guid.Parse("44858f86-46f8-4c92-a221-d43d933474f4"), Name = "תאונות 3", IsSelected = true });
     return new LUResponse
     {
         Items = items
     };
 }
Example #5
0
    public LUResponse GetSelHealth(LURequest r)
    {
        List<RecItem> items = new List<RecItem>();

        if (r.Params != null)
        {
            var dat = (from p in r.Params where p.Key == "new_manufacture" select p.Value).FirstOrDefault();
            if (dat != null)
            {
                if (dat == "1")
                    items.Add(new RecItem { Id = Guid.Parse("78c2b02e-7f2d-472a-8a1b-25c4be2d5d3f"), Name = "בריאות 1 שינוי 11111", IsSelected = true });
                if (dat == "2")
                    items.Add(new RecItem { Id = Guid.Parse("88c2b02e-7f2d-472a-8a1b-25c4be2d5d3f"), Name = "בריאות 22222 שינוי 2222", IsSelected = true });
            }

        }
        items.Add(new RecItem { Id = Guid.Parse("98c2b02e-7f2d-472a-8a1b-25c4be2d5d3f"), Name = "בריאות 1", IsSelected = true });
        items.Add(new RecItem { Id = Guid.Parse("68c2b02e-7f2d-472a-8a1b-25c4be2d5d3f"), Name = "בריאות 2", IsSelected = false });
        items.Add(new RecItem { Id = Guid.Parse("58c2b02e-7f2d-472a-8a1b-25c4be2d5d3f"), Name = "בריאות 3", IsSelected = true });

        return new LUResponse
        {
            Items = items
        };
    }