public void DeleteUser(string id) { UserRepository.DeleteUser(id); var projectUser = ProjectUserRepository.GetAssignedProject(id); ProjectUserRepository.RemoveAssignedUser(projectUser); UserLogRepository.RemoveUserLogsByUserId(id); UpdateChild(); }
public void DeleteUser(string id) { UserRepository.DeleteUser(id); var projectUser = ProjectUserRepository.GetAssignedProject(id); ProjectUserRepository.RemoveAssignedUser(projectUser); UserLogRepository.RemoveUserLogsByUserId(id); UpdateChild(); }