Refactor to guid uid

This commit is contained in:
Fergal Moran
2018-05-11 20:24:11 +01:00
parent 5f905d3516
commit d5c9df78cb
31 changed files with 476 additions and 358 deletions

View File

@@ -47,7 +47,7 @@ namespace PodNoms.Api.Controllers {
message.FromUserName = _applicationUser.FullName;
message.FromUserId = _applicationUser.Id;
var chat = _mapper.Map<ChatMessage>(message);
await _chatRepository.AddOrUpdateAsync(chat);
_chatRepository.AddOrUpdate(chat);
await this._unitOfWork.CompleteAsync();
if (await _supportChatService.InitiateSupportRequest(_userId, message)) {