Ejemplo n.º 1
0
 public void CreateData(SimpleAPI api)
 {
     if (api == null) // if null, throw an exception
     {
         throw new ArgumentNullException(nameof(api));
     }
     ctx.MyData.Add(api); //Add data if api has value
 }
Ejemplo n.º 2
0
 void ISimpleAPIRepo.CreateData(SimpleAPI api)
 {
     throw new System.NotImplementedException();
 }
Ejemplo n.º 3
0
        }//end of getDataById method

        public void UpdateSimpleApi(SimpleAPI api)
        {
            throw new System.NotImplementedException();
        }
Ejemplo n.º 4
0
 public void UpdateSimpleApi(SimpleAPI api)
 {
     //Noting
 }