Пример #1
0
        public GenericResult <bool> AddJogo(JogosConta jc)
        {
            GenericResult <bool> result = new GenericResult <bool>();

            try
            {
                result.Result = service.AddJogo(jc);
            }
            catch (Exception ex)
            {
                result.Errors = new string[] { ex.Message };
            }

            return(result);
        }