/// <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); } }
/// <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); } }