예제 #1
0
        public async Task Delete(string id)
        {
            UserInfo u = getLoggedInUserInfo();

            if (u != null)
            {
                await _repository.DeleteAsync(u.usergoogid, id);
            }
        }
예제 #2
0
        public async Task Delete(string id)
        {
            UserInfo u = getLoggedInUserInfo();

            if (u != null)
            {
                UserInfo currentUser = (UserInfo)(dynamic)await _repository.GetFirstDocAsync("usergoogid = '" + u.usergoogid + "'");

                await _repository.DeleteAsync(currentUser.usergoogid, id);
            }
        }
 public async Task Delete(string id)
 {
     await _repository.DeleteAsync(id);
 }