Ejemplo n.º 1
0
        // Lectures
        public static string getAddressSingleLectures(Lectures courses)
        {
            String        baseUrl       = $"https://api.mlab.com/api/1/databases/{DB_NAME}/collections/{LECTURES_COLLECTION_NAME}";
            StringBuilder stringBuilder = new StringBuilder(baseUrl);

            stringBuilder.Append("/" + courses._id.oid + "?apiKey=" + API_KEY);
            return(stringBuilder.ToString());
        }
 public DelLectureData(Lectures lec, DeleteLectureActivity activity)
 {
     this.activity = activity;
     this.lec      = lec;
 }