public string getImageUrlFor(string name)
 {
     foreach (Networking.Independent.Model model in items)
     {
         if (model.name == name)
         {
             selectedModel = model;
             return(model.photoLink);
         }
     }
     return("");
 }
Пример #2
0
 public static void Add(Networking.Independent.Model model, Networking.SingleDependable.Fabric fabric)
 {
     Shared.SQLDatabaseConnetion connection = new Shared.SQLDatabaseConnetion();
     connection.Insert(String.Format(Networking.Shared.RequestConsts.Put.Dependable.putRecomendationRequest, model.id, fabric.id));
 }