コード例 #1
0
        public async Task <TimeEntity> Post(TimeEntity timeEntity)
        {
            try
            {
                var result = await _timeService.Post(timeEntity);

                await _timeService.Commit();

                return(result);
            }
            catch (Exception)
            {
                _timeService.Dispose();
                throw;
            }
        }