Exemple #1
0
        public void Delete(int id)
        {
            using (var unitOfwork = _unitOfWorkFactory.GetCurrentUnitOfWork())
            {
                _inviteRepository.DeleteByProjectId(id);
                _projectRepository.Delete(id);

                unitOfwork.Commit();
            }
        }