public async Task<StatusData<string>> SyncPhoneBook(PhoneBookContactsRequest request, SystemSession session)
 {
     var contacts = new UserMobileContacts
     {
         CTag = request.CTag,
         DeviceId = request.DeviceId,
         UserId = request.UserId,
         ToAddmobileContacts =
             request.Add.Select(
                 x =>
                     new MobileContact
                     {
                         CountryCode = x.CountryCode,
                         PrimaryContactNumber = x.MobileNumber.ToString()
                     }).ToList(),
         ToDelmobileContacts =
             request.Delete.Select(
                 x =>
                     new MobileContact
                     {
                         CountryCode = x.CountryCode,
                         PrimaryContactNumber = x.MobileNumber.ToString()
                     }).ToList(),
         Flush = request.Flush
     };
     var result = new StatusData<string>();
     var response = (await Task.Factory.StartNew(() => Client.UserService.contactSync(contacts, session.GetSession())).ConfigureAwait(false));
     result.Status = (SystemDbStatus)response.SystemDbStatus;
     result.Data = response.CTag;
     result.Message = response.DbStatusMsg;
     return result;
 }
        public Task<StatusData<string>> UpdatePhoneBookContacts(PhoneBookContactsRequest request, SystemSession session)
        {

            //return _unitOfWork.Friend.SyncPhoneBook(request);
            return _jUnitOfWork.Friend.SyncPhoneBook(request, session);
        }