예제 #1
0
 /// <summary>
 /// Delete User Data
 /// </summary>
 /// <param name="studentDetailsModel"></param>
 public void DeleteStudentData(UserOAuthenticationModel userOAuthentication)
 {
     try
     {
         if (userOAuthentication != null)
         {
             _dataLayer.Delete(new Delete <UserOAuthenticationModel>(userOAuthentication));
         }
     }
     catch (Exception ex)
     {
         Debug.WriteLine(ex.StackTrace);
     }
 }
예제 #2
0
 /// <summary>
 /// Delete student Data
 /// </summary>
 /// <param name="studentDetailsModel"></param>
 public void DeleteStudentData(StudentDetailsModel studentDetailsModel)
 {
     try
     {
         if (studentDetailsModel != null)
         {
             _dataLayer.Delete(new Delete <StudentDetailsModel>(studentDetailsModel));
         }
     }
     catch (Exception ex)
     {
         Debug.WriteLine(ex.StackTrace);
     }
 }