public async Task <Response <GlobalMessage> > AddGlobalMessageAsync(string content) { try { var global = _globalMessageFactory.Create(content); await _repo.AddGlobalMessageAsync(global); await _unitWork.CommitAsync(); return(new Response <GlobalMessage>(global)); } catch (Exception e) { return(new Response <GlobalMessage>($"ERROR :{e.Message}")); } }