示例#1
0
        public static async void InsertNewPerscription(Perscription p)
        {
            try
            {
                await perscription.InsertAsync(p);
            }
            catch (MobileServiceInvalidOperationException e)
            {
                Debug.WriteLine(e.Message);
            }

        }
示例#2
0
 public static async void UpdatePerscription(Perscription p)
 {
     await perscription.UpdateAsync(p);
 }
示例#3
0
 public static async void DeletePerscription(Perscription p)
 {
     await perscription.DeleteAsync(p);
 }