Esempio n. 1
0
        public async Task DeleteAsync(long Id)
        {
            var goal = await _goalRepository.FindByIdAsync(Id);

            _goalRepository.Delete(goal);
            await _unitOfWork.CompleteAsync();
        }